SPWorkflowActivationProperties class

Represents the initial properties of the workflow instance as it starts, such as the user who added the workflow, and the list and item to which the workflow was added.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties

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

Syntax

'Declaration
<SerializableAttribute> _
<SubsetCallableExcludeInterfaceAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType, ExcludeInterface := GetType(ISerializable))> _
<SubsetCallableTypeAttribute> _
Public Class SPWorkflowActivationProperties _
    Inherits SPAutoSerializingObject _
    Implements ISerializable, IDisposable
'Usage
Dim instance As SPWorkflowActivationProperties
[SerializableAttribute]
[SubsetCallableExcludeInterfaceAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType, ExcludeInterface = typeof(ISerializable))]
[SubsetCallableTypeAttribute]
public class SPWorkflowActivationProperties : SPAutoSerializingObject, 
    ISerializable, IDisposable

Remarks

When a new workflow instance is initiated, Microsoft SharePoint Server passes a SPWorkflowActivationProperties object to the OnWorkflowActivated workflow event activity. You can access this object through the WorkflowProperties property of that class.

For more information, see Workflow Initiation in Windows SharePoint Services.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPWorkflowActivationProperties members

Microsoft.SharePoint.Workflow namespace