共用方式為


OperationContext.Host 屬性

定義

取得目前服務物件的 ServiceHost

public:
 property System::ServiceModel::ServiceHostBase ^ Host { System::ServiceModel::ServiceHostBase ^ get(); };
public System.ServiceModel.ServiceHostBase Host { get; }
member this.Host : System.ServiceModel.ServiceHostBase
Public ReadOnly Property Host As ServiceHostBase

屬性值

ServiceHost 物件。

適用於