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
inProps
Type: Microsoft.SharePoint.Workflow.SPWorkflowActivationPropertiesAn SPWorkflowActivationProperties object that represents the activation properties.
inWorkflowWebProvider
Type: Microsoft.SharePoint.Workflow.IWorkflowWebProviderAn IWorkflowWebProvider object that represents the web hosting provider.