WorkflowServiceHostFactory.CreateServiceHost Method (String, Uri[])

.NET Framework (current version)
 

Creates a new service host.

Namespace:   System.ServiceModel.Activities.Activation
Assembly:  System.ServiceModel.Activation (in System.ServiceModel.Activation.dll)

public override ServiceHostBase CreateServiceHost(
	string constructorString,
	Uri[] baseAddresses
)

Parameters

constructorString
Type: System.String

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

baseAddresses
Type: System.Uri[]

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

Return Value

Type: System.ServiceModel.ServiceHostBase

A service host base instance.

.NET Framework
Available since 4.0
Return to top
Show: