편집

다음을 통해 공유


WorkflowServiceHost Constructors

Definition

Initializes a new instance of the WorkflowServiceHost class.

Overloads

WorkflowServiceHost()

Initializes a new instance of the WorkflowServiceHost class.

WorkflowServiceHost(Activity, Uri[])

Initializes a new instance of the WorkflowServiceHost class using the specified activity and base addresses.

WorkflowServiceHost(Object, Uri[])

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

WorkflowServiceHost(WorkflowService, Uri[])

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

WorkflowServiceHost()

Initializes a new instance of the WorkflowServiceHost class.

protected:
 WorkflowServiceHost();
protected WorkflowServiceHost ();
Protected Sub New ()

Applies to

WorkflowServiceHost(Activity, Uri[])

Initializes a new instance of the WorkflowServiceHost class using the specified activity and base addresses.

public:
 WorkflowServiceHost(System::Activities::Activity ^ activity, ... cli::array <Uri ^> ^ baseAddresses);
public WorkflowServiceHost (System.Activities.Activity activity, params Uri[] baseAddresses);
new System.ServiceModel.Activities.WorkflowServiceHost : System.Activities.Activity * Uri[] -> System.ServiceModel.Activities.WorkflowServiceHost
Public Sub New (activity As Activity, ParamArray baseAddresses As Uri())

Parameters

activity
Activity

The root activity of the workflow service.

baseAddresses
Uri[]

An array of base addresses for the workflow service.

Examples

The following example shows how to use this constructor.

Applies to

WorkflowServiceHost(Object, Uri[])

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

public:
 WorkflowServiceHost(System::Object ^ serviceImplementation, ... cli::array <Uri ^> ^ baseAddresses);
public WorkflowServiceHost (object serviceImplementation, params Uri[] baseAddresses);
new System.ServiceModel.Activities.WorkflowServiceHost : obj * Uri[] -> System.ServiceModel.Activities.WorkflowServiceHost
Public Sub New (serviceImplementation As Object, ParamArray baseAddresses As Uri())

Parameters

serviceImplementation
Object

The root activity of the workflow service to be hosted.

baseAddresses
Uri[]

An array of base addresses for the workflow service.

Applies to

WorkflowServiceHost(WorkflowService, Uri[])

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

public:
 WorkflowServiceHost(System::ServiceModel::Activities::WorkflowService ^ serviceDefinition, ... cli::array <Uri ^> ^ baseAddresses);
public WorkflowServiceHost (System.ServiceModel.Activities.WorkflowService serviceDefinition, params Uri[] baseAddresses);
new System.ServiceModel.Activities.WorkflowServiceHost : System.ServiceModel.Activities.WorkflowService * Uri[] -> System.ServiceModel.Activities.WorkflowServiceHost
Public Sub New (serviceDefinition As WorkflowService, ParamArray baseAddresses As Uri())

Parameters

serviceDefinition
WorkflowService

The workflow service to host.

baseAddresses
Uri[]

An array of base addresses for the hosted workflow service.

Applies to