Share via


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

<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPWorkflowActivationProperties _
    Inherits SPAutoSerializingObject _
    Implements ISerializable

Dim instance As SPWorkflowActivationProperties
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPWorkflowActivationProperties : SPAutoSerializingObject, 
    ISerializable

Remarks

When a new workflow instance is initiated, Windows SharePoint Services 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