ServiceHostBase.Authorization Eigenschaft

Definition

Ruft das Autorisierungsverhalten für den gehosteten Dienst ab.Gets the authorization behavior for the service hosted.

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

Die ServiceAuthorizationBehavior-Einstellung für den gehosteten Dienst.The ServiceAuthorizationBehavior for the service hosted.

Beispiele

ServiceAuthorizationBehavior authorization =
    hostDefault.Authorization;

Gilt für: