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

See also

Reference

WorkflowServicesContext class

WorkflowServicesContext members

WorkflowServicesContext overload

Microsoft.SharePoint.WorkflowServices namespace