WorkflowServiceHostFactory.CreateServiceHost(String, Uri[]) Method

Definition

Creates a new service host.

C#
public override System.ServiceModel.ServiceHostBase CreateServiceHost (string constructorString, Uri[] baseAddresses);

Parameters

constructorString
String

The name of the XAML file that defines the workflow service or the service type.

baseAddresses
Uri[]

A list of addresses that serves as a reference point for other addresses.

Returns

A service host base instance.

Applies to

产品 版本
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1