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


Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


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


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 SharePoint Foundation.

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


SPWorkflowActivationProperties Members

Microsoft.SharePoint.Workflow Namespace