SPActivationEventArgs Class

Represents the event parameters of a workflow instance being initiated.

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.Workflow.Activities.ExternalDataEventArgs
      Microsoft.SharePoint.Workflow.SPActivationEventArgs

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 SPActivationEventArgs _
    Inherits ExternalDataEventArgs

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

Remarks

When the ISharePointService raises an OnWorkflowActivated event, the event parameters are contained in the SPActivationEventArgs class.

For more information on workflow initiation, 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

SPActivationEventArgs Members

Microsoft.SharePoint.Workflow Namespace