Partager via


ServiceHostBase.Authorization Propriété

Définition

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

public:
 property System::ServiceModel::Description::ServiceAuthorizationBehavior ^ Authorization { System::ServiceModel::Description::ServiceAuthorizationBehavior ^ get(); };
public System.ServiceModel.Description.ServiceAuthorizationBehavior Authorization { get; }
member this.Authorization : System.ServiceModel.Description.ServiceAuthorizationBehavior
Public ReadOnly Property Authorization As ServiceAuthorizationBehavior

Valeur de propriété

ServiceAuthorizationBehavior

ServiceAuthorizationBehavior pour le service hébergé.

Exemples

ServiceAuthorizationBehavior authorization =
    hostDefault.Authorization;

S’applique à