WaitForDocumentUnlockActivity.Initialize Method (WorkflowContext, Guid, SPItemKey)
Initializes the values of the WaitForDocumentUnlockActivity object.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Sub Initialize ( _
context As WorkflowContext, _
listID As Guid, _
listItemKey As SPItemKey _
)
'Usage
Dim instance As WaitForDocumentUnlockActivity
Dim context As WorkflowContext
Dim listID As Guid
Dim listItemKey As SPItemKey
instance.Initialize(context, listID, listItemKey)
public void Initialize(
WorkflowContext context,
Guid listID,
SPItemKey listItemKey
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextThe workflow context.
listID
Type: System.GuidThe globally unique identifier (GUID) of the SPList.
listItemKey
Type: Microsoft.SharePoint.Workflow.SPItemKeyThe object that identifies the SPListItem associated with current workflow instance.
Remarks
This method throws an ArgumentNullException if any of the parameters are empty or null .
See Also
Reference
WaitForDocumentUnlockActivity Class