WaitForDocumentStatusActivity.Initialize Method (WorkflowContext, Guid, SPItemKey)
Initializes the values of the WaitForDocumentUnlockActivity.
Namespace: Microsoft.SharePoint.WorkflowActions.WithKey
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 WaitForDocumentStatusActivity
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.WorkflowContextA workflow context that contains properties that are associated with the active workflow instance.
listID
Type: System.GuidThe GUID of the list.
listItemKey
Type: Microsoft.SharePoint.Workflow.SPItemKeyAn object that identifies the SPListItem associated with the current workflow instance.
Remarks
This method throws an ArgumentNullException if the context parameter is null and an ArgumentException if the listID or listItemKey parameter is empty.
See Also
Reference
WaitForDocumentStatusActivity Class