OperationContext.Host 屬性

定義

取得目前服務物件的 ServiceHostGets the ServiceHost for the current service object.

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

屬性值

ServiceHostBase

ServiceHost 物件。A ServiceHost object.

適用於