WorkflowServicesContext constructor (SPWeb, ICredentials, Uri, IWorkflowService)
Initializes a new instance of the WorkflowServicesContext class along with initialization parameters.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
Public Sub New ( _
web As SPWeb, _
credentials As ICredentials, _
workflowServiceAddress As Uri, _
externalhost As IWorkflowService _
)
'Usage
Dim web As SPWeb
Dim credentials As ICredentials
Dim workflowServiceAddress As Uri
Dim externalhost As IWorkflowService
Dim instance As New WorkflowServicesContext(web, credentials, _
workflowServiceAddress, externalhost)
public WorkflowServicesContext(
SPWeb web,
ICredentials credentials,
Uri workflowServiceAddress,
IWorkflowService externalhost
)
Parameters
- web
Type: Microsoft.SharePoint.SPWeb
- credentials
Type: System.Net.ICredentials
- workflowServiceAddress
Type: System.Uri
- externalhost
Type: Microsoft.SharePoint.WorkflowServices.IWorkflowService
See also
Reference
WorkflowServicesContext members