WorkflowServiceHost Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기