ServiceHostBase 构造函数

定义

初始化 ServiceHostBase 类的新实例。

protected:
 ServiceHostBase();
protected ServiceHostBase ();
Protected Sub New ()

示例

ServiceHost hostDefault = new
 ServiceHost(typeof(CalculatorService));

适用于