ServiceHostBase.Authorization Propriété

Définition

Obtient le comportement d'autorisation pour le service hébergé.

C#
public System.ServiceModel.Description.ServiceAuthorizationBehavior Authorization { get; }

Valeur de propriété

ServiceAuthorizationBehavior

ServiceAuthorizationBehavior pour le service hébergé.

Exemples

C#
ServiceAuthorizationBehavior authorization =
    hostDefault.Authorization;

S’applique à

Produit Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8