共用方式為


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;

適用於