Compartilhar via


WorkflowContext.Initialize Method (SPWorkflowActivationProperties, IWorkflowWebProvider)

Initializes the workflow context based on a specified web hosting provider and activation properties.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public Sub Initialize ( _
    inProps As SPWorkflowActivationProperties, _
    inWorkflowWebProvider As IWorkflowWebProvider _
)
'Usage
Dim instance As WorkflowContext
Dim inProps As SPWorkflowActivationProperties
Dim inWorkflowWebProvider As IWorkflowWebProvider

instance.Initialize(inProps, inWorkflowWebProvider)
public void Initialize(
    SPWorkflowActivationProperties inProps,
    IWorkflowWebProvider inWorkflowWebProvider
)

Parameters

See Also

Reference

WorkflowContext Class

WorkflowContext Members

Initialize Overload

Microsoft.SharePoint.WorkflowActions Namespace