Επεξεργασία

Κοινή χρήση μέσω


ServiceHostBase.Authorization Property

Definition

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

Property Value

The ServiceAuthorizationBehavior for the service hosted.

Examples

ServiceAuthorizationBehavior authorization =
    hostDefault.Authorization;

Applies to