Partilhar via


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

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

WaitForDocumentStatusActivity Members

Initialize Overload

Microsoft.SharePoint.WorkflowActions.WithKey Namespace