Bearbeiten

Freigeben über


WorkflowServiceHostFactory.CreateWorkflowServiceHost Method

Definition

Creates a new instance of the WorkflowServiceHost class.

Overloads

CreateWorkflowServiceHost(Activity, Uri[])

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

CreateWorkflowServiceHost(WorkflowService, Uri[])

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

CreateWorkflowServiceHost(Activity, Uri[])

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

protected:
 virtual System::ServiceModel::Activities::WorkflowServiceHost ^ CreateWorkflowServiceHost(System::Activities::Activity ^ activity, cli::array <Uri ^> ^ baseAddresses);
protected virtual System.ServiceModel.Activities.WorkflowServiceHost CreateWorkflowServiceHost (System.Activities.Activity activity, Uri[] baseAddresses);
abstract member CreateWorkflowServiceHost : System.Activities.Activity * Uri[] -> System.ServiceModel.Activities.WorkflowServiceHost
override this.CreateWorkflowServiceHost : System.Activities.Activity * Uri[] -> System.ServiceModel.Activities.WorkflowServiceHost
Protected Overridable Function CreateWorkflowServiceHost (activity As Activity, baseAddresses As Uri()) As WorkflowServiceHost

Parameters

activity
Activity

The workflow definition.

baseAddresses
Uri[]

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

Returns

A workflow service host instance.

Applies to

CreateWorkflowServiceHost(WorkflowService, Uri[])

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

protected:
 virtual System::ServiceModel::Activities::WorkflowServiceHost ^ CreateWorkflowServiceHost(System::ServiceModel::Activities::WorkflowService ^ service, cli::array <Uri ^> ^ baseAddresses);
protected virtual System.ServiceModel.Activities.WorkflowServiceHost CreateWorkflowServiceHost (System.ServiceModel.Activities.WorkflowService service, Uri[] baseAddresses);
abstract member CreateWorkflowServiceHost : System.ServiceModel.Activities.WorkflowService * Uri[] -> System.ServiceModel.Activities.WorkflowServiceHost
override this.CreateWorkflowServiceHost : System.ServiceModel.Activities.WorkflowService * Uri[] -> System.ServiceModel.Activities.WorkflowServiceHost
Protected Overridable Function CreateWorkflowServiceHost (service As WorkflowService, baseAddresses As Uri()) As WorkflowServiceHost

Parameters

service
WorkflowService

The workflow service that becomes the host.

baseAddresses
Uri[]

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

Returns

A workflow service host instance.

Applies to