WorkflowServiceHostFactory.CreateWorkflowServiceHost Method (WorkflowService, Uri[])

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new instance of the WorkflowServiceHost class with the specified WorkflowService and base addresses.

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

protected virtual WorkflowServiceHost CreateWorkflowServiceHost(
	WorkflowService service,
	Uri[] baseAddresses
)

Parameters

service
Type: System.ServiceModel.Activities.WorkflowService

The workflow service that becomes the host.

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: