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

属性值

ServiceHostBase

ServiceHost 对象。

适用于