ServiceHostBase.Authorization 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得裝載之服務的授權行為。
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;