WorkflowServiceHostFactory.CreateServiceHost(String, Uri[]) 方法

定义

创建一台新的服务主机。

public:
 override System::ServiceModel::ServiceHostBase ^ CreateServiceHost(System::String ^ constructorString, cli::array <Uri ^> ^ baseAddresses);
public override System.ServiceModel.ServiceHostBase CreateServiceHost (string constructorString, Uri[] baseAddresses);
override this.CreateServiceHost : string * Uri[] -> System.ServiceModel.ServiceHostBase
Public Overrides Function CreateServiceHost (constructorString As String, baseAddresses As Uri()) As ServiceHostBase

参数

constructorString
String

定义工作流服务或服务类型的 XAML 文件的名称。

baseAddresses
Uri[]

一个可用作其他地址引用点的地址的列表。

返回

ServiceHostBase

一个服务主机基实例。

适用于