Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WorkflowServiceHost Constructor (WorkflowService, Uri[])

.NET Framework 4.6 and 4.5

Initializes a new instance of the WorkflowServiceHost class using the specified service definition and collection of base addresses.

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

public WorkflowServiceHost(
	WorkflowService serviceDefinition,
	params Uri[] baseAddresses
)

Parameters

serviceDefinition
Type: System.ServiceModel.Activities.WorkflowService

The workflow service to host.

baseAddresses
Type: System.Uri[]

An array of base addresses for the hosted workflow service.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft