共用方式為


OnTaskChanged Members

Include Protected Members
Include Inherited Members

Defines a workflow activity that is used to respond to the ITaskService.OnTaskChanged event Microsoft SharePoint Foundation raises when a task associated with the workflow is modified.

The OnTaskChanged type exposes the following members.

Constructors

  Name Description
Public method OnTaskChanged Initializes a new instance of the OnTaskChanged class.

Top

Properties

  Name Description
Public property AfterProperties Gets or sets an SPWorkflowTaskProperties object that contains the current task property values for any properties that were updated. This includes custom data stored in the Hashtable object returned by the ExtendedProperties property.
Public property BeforeProperties Gets or sets an SPWorkflowTaskProperties object that contains the previous task property values for any properties that were updated. This includes custom data stored in the Hashtable object returned by the ExtendedProperties property.
Public property CorrelationToken (Inherited from HandleExternalEventActivity.)
Public property Description (Inherited from Activity.)
Protected property DesignMode (Inherited from DependencyObject.)
Public property Enabled (Inherited from Activity.)
Public property EventName Returns the method that invokes this activity. (Overrides HandleExternalEventActivity.EventName.)
Public property ExecutionResult (Inherited from Activity.)
Public property ExecutionStatus (Inherited from Activity.)
Public property Executor Gets and sets the ID of the user who executed the event.
Public property InterfaceType Returns the interface type used to implement this activity. (Overrides HandleExternalEventActivity.InterfaceType.)
Public property IsDynamicActivity (Inherited from Activity.)
Public property Name (Inherited from Activity.)
Public property ParameterBindings (Inherited from HandleExternalEventActivity.)
Public property Parent (Inherited from Activity.)
Protected property ParentDependencyObject (Inherited from DependencyObject.)
Public property QualifiedName (Inherited from Activity.)
Public property Roles (Inherited from HandleExternalEventActivity.)
Public property Site (Inherited from DependencyObject.)
Public property TaskId Gets or sets the ID of the task that was updated.
Public property UserData (Inherited from DependencyObject.)
Protected property WorkflowInstanceId (Inherited from Activity.)

Top

Methods

  Name Description
Public method AddHandler (Inherited from DependencyObject.)
Protected method Cancel (Inherited from HandleExternalEventActivity.)
Public method Clone (Inherited from Activity.)
Public method Dispose() (Inherited from DependencyObject.)
Protected method Dispose(Boolean) (Inherited from DependencyObject.)
Public method Equals (Inherited from Object.)
Protected method Execute (Inherited from HandleExternalEventActivity.)
Protected method Finalize (Inherited from DependencyObject.)
Public method GetActivityByName(String) (Inherited from Activity.)
Public method GetActivityByName(String, Boolean) (Inherited from Activity.)
Public method GetBinding (Inherited from DependencyObject.)
Protected method GetBoundValue (Inherited from DependencyObject.)
Public method GetHashCode (Inherited from Object.)
Protected method GetInvocationList<T> (Inherited from DependencyObject.)
Public method GetType (Inherited from Object.)
Public method GetValue (Inherited from DependencyObject.)
Public method GetValueBase (Inherited from DependencyObject.)
Protected method HandleFault (Inherited from HandleExternalEventActivity.)
Protected method Initialize (Inherited from HandleExternalEventActivity.)
Protected method InitializeProperties (Inherited from HandleExternalEventActivity.)
Protected method Invoke<T>(EventHandler<T>, T) (Inherited from Activity.)
Protected method Invoke<T>(IActivityEventListener<T>, T) (Inherited from Activity.)
Public method IsBindingSet (Inherited from DependencyObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MetaEquals (Inherited from DependencyObject.)
Protected method OnActivityExecutionContextLoad (Inherited from Activity.)
Protected method OnActivityExecutionContextUnload (Inherited from Activity.)
Protected method OnClosed (Inherited from HandleExternalEventActivity.)
Protected method OnInvoked Extracts members from the received EventArgs to set the values of the OnTaskChanged activity’s public properties. (Overrides HandleExternalEventActivity.OnInvoked(EventArgs).)
Protected method RaiseEvent (Inherited from Activity.)
Protected method RaiseGenericEvent<T> (Inherited from Activity.)
Public method RegisterForStatusChange (Inherited from Activity.)
Public method RemoveHandler (Inherited from DependencyObject.)
Public method RemoveProperty (Inherited from DependencyObject.)
Public method Save(Stream) (Inherited from Activity.)
Public method Save(Stream, IFormatter) (Inherited from Activity.)
Public method SetBinding (Inherited from DependencyObject.)
Protected method SetBoundValue (Inherited from DependencyObject.)
Protected method SetReadOnlyPropertyValue (Inherited from DependencyObject.)
Public method SetValue (Inherited from DependencyObject.)
Public method SetValueBase (Inherited from DependencyObject.)
Public method ToString (Inherited from Activity.)
Protected method TrackData(Object) (Inherited from Activity.)
Protected method TrackData(String, Object) (Inherited from Activity.)
Protected method Uninitialize (Inherited from Activity.)
Public method UnregisterForStatusChange (Inherited from Activity.)

Top

Events

  Name Description
Public event Canceling (Inherited from Activity.)
Public event Closed (Inherited from Activity.)
Public event Compensating (Inherited from Activity.)
Public event Executing (Inherited from Activity.)
Public event Faulting (Inherited from Activity.)
Public event Invoked (Inherited from HandleExternalEventActivity.)
Public event StatusChanged (Inherited from Activity.)

Top

Fields

  Name Description
Public fieldStatic member AfterPropertiesProperty The DependencyProperty object that promotes the AfterProperties property.
Public fieldStatic member BeforePropertiesProperty The DependencyProperty object that promotes the BeforeProperties property.
Public fieldStatic member ExecutorProperty The DependencyProperty object that promotes the Executor property.
Public fieldStatic member TaskIdProperty The DependencyProperty object that promotes the TaskId property.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)
Explicit interface implemetationPrivate method IDynamicPropertyTypeProvider.GetAccessType (Inherited from HandleExternalEventActivity.)
Explicit interface implemetationPrivate method IDynamicPropertyTypeProvider.GetPropertyType (Inherited from HandleExternalEventActivity.)
Explicit interface implemetationPrivate method IActivityEventListener<QueueEventArgs>.OnEvent (Inherited from HandleExternalEventActivity.)
Explicit interface implemetationPrivate property IEventActivity.QueueName (Inherited from HandleExternalEventActivity.)
Explicit interface implemetationPrivate method IEventActivity.Subscribe (Inherited from HandleExternalEventActivity.)
Explicit interface implemetationPrivate method IEventActivity.Unsubscribe (Inherited from HandleExternalEventActivity.)

Top

See Also

Reference

OnTaskChanged Class

Microsoft.SharePoint.WorkflowActions Namespace