WorkflowServiceHostFactory.CreateWorkflowServiceHost Method (Activity, Uri[])

.NET Framework (current version)
 

Creates a new instance of the WorkflowServiceHost class using the specified Activity and base addresses.

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

protected virtual WorkflowServiceHost CreateWorkflowServiceHost(
	Activity activity,
	Uri[] baseAddresses
)

Parameters

activity
Type: System.Activities.Activity

The workflow definition.

baseAddresses
Type: System.Uri[]

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

Return Value

Type: System.ServiceModel.Activities.WorkflowServiceHost

A workflow service host instance.

.NET Framework
Available since 4.0
Return to top
Show: