SPWorkflowActivationProperties Class (Microsoft.SharePoint.Workflow)
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.

Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class SPWorkflowActivationProperties
    Inherits SPAutoSerializingObject
    Implements ISerializable
Visual Basic (Usage)
Dim instance As SPWorkflowActivationProperties
C#
[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.

Inheritance Hierarchy

System.Object
   Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties
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

Tags :


Page view tracker