共用方式為


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[]

可做為其他位址參考點的位址清單。

傳回

服務主機基底執行個體。

適用於