Freigeben über


ServiceHostBase.Authorization Eigenschaft

Definition

Ruft das Autorisierungsverhalten für den gehosteten Dienst ab.

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

Eigenschaftswert

ServiceAuthorizationBehavior

Die ServiceAuthorizationBehavior-Einstellung für den gehosteten Dienst.

Beispiele

ServiceAuthorizationBehavior authorization =
    hostDefault.Authorization;

Gilt für