ServiceHostBase.Authorization 属性

定义

获取所承载服务的授权行为。

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

属性值

所承载服务的 ServiceAuthorizationBehavior

示例

ServiceAuthorizationBehavior authorization =
    hostDefault.Authorization;

适用于