共用方式為


SPWorkflowActivationProperties Members

Include Protected Members
Include Inherited Members

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.

The SPWorkflowActivationProperties type exposes the following members.

Constructors

  Name Description
Public method SPWorkflowActivationProperties() Initializes a new instance of the SPWorkflowActivationProperties class.
Protected method SPWorkflowActivationProperties(SerializationInfo, StreamingContext) Initializes a new instance of the SPWorkflowActivationProperties class.

Top

Properties

  Name Description
Public property AssociationData Gets the association data passed to the workflow instance.
Public property Context Gets the Object on which the workflow instance is running.
Public property HistoryList Gets the list to which workflow history events are logged for the workflow.
Public property HistoryListId Gets the ID of the list to which workflow history events are logged for the workflow.
Public property HistoryListUrl Gets the URL of the list to which workflow history events are logged for the workflow.
Public property InitiationData Gets the initiation data passed to the workflow instance.
Public property Item Gets the list item on which the workflow instance is running.
Public property ItemId Gets the ID of the list item on which the workflow instance is running.
Public property ItemUrl Gets the URL of the list item on which the workflow instance is running.
Public property List Gets the list that contains the list item on which the workflow instance is running.
Public property ListId Gets the ID of the list that contains the list item on which the workflow instance is running.
Public property ListUrl Gets the URL of the list that contains the list item on which the workflow instance is running.
Public property Originator Gets the user name of the user who initiated the workflow instance.
Public property OriginatorEmail Gets the email address of the user who initiated the workflow instance.
Public property OriginatorUser Gets the user who initiated the workflow instance.
Public property Site Gets the site collection on which the workflow instance is located.
Public property SiteId Gets the ID of the site collection on which the workflow instance is located.
Public property SiteUrl Gets URL of the site collection on which the workflow instance is located.
Public property TaskList Gets the list on which workflow tasks for this workflow instance are created.
Public property TaskListId Gets the ID of the list on which workflow tasks for this workflow instance are created.
Public property TaskListUrl Gets the URL of the list on which workflow tasks for this workflow instance are created.
Public property TemplateName Gets the name of the workflow association from which the workflow instance was created.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)
Public property Web Gets the SharePoint site on which the workflow instance is located.
Public property WebId Gets the ID of the SharePoint site on which the workflow instance is located.
Public property WebUrl Gets the URL of the SharePoint site on which the workflow instance is located.
Public property Workflow Gets the workflow instance.
Public property WorkflowId Gets ID of the workflow instance.

Top

Methods

  Name Description
Public method Dispose Sets the objects that represent the force dispose, the Web, and the site to null .
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Gets the serialized state of the object. (Overrides SPAutoSerializingObject.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

See Also

Reference

SPWorkflowActivationProperties Class

Microsoft.SharePoint.Workflow Namespace