共用方式為


WaitForActivity Members

Include Protected Members
Include Inherited Members

Defines a workflow activity that is used to pause the workflow until the value of the specified list field has the specified relationship to the specified value.

The WaitForActivity type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property __Context Gets or sets the workflow context that contains properties associated with the active workflow instance.
Public property __ListId Gets or sets the GUID or display name of a specified list.
Public property __ListItem Gets or sets an integer that represents a specified list item.
Public property Activities (Inherited from CompositeActivity.)
Protected property CanModifyActivities (Inherited from CompositeActivity.)
Public property Description (Inherited from Activity.)
Protected property DesignMode (Inherited from DependencyObject.)
Public property Enabled (Inherited from Activity.)
Public property EnabledActivities (Inherited from CompositeActivity.)
Public property ExecutionResult (Inherited from Activity.)
Public property ExecutionStatus (Inherited from Activity.)
Public property FieldName Gets or sets the name of the list item field for comparison.
Public property IsDynamicActivity (Inherited from Activity.)
Public property Name (Inherited from Activity.)
Public property Operator Gets or sets the comparison operator.
Public property Parent (Inherited from Activity.)
Protected property ParentDependencyObject (Inherited from DependencyObject.)
Public property QualifiedName (Inherited from Activity.)
Public property Site (Inherited from DependencyObject.)
Public property UserData (Inherited from DependencyObject.)
Public property Value Gets or sets the value to compare with the value found in the specific list field.
Protected property WorkflowInstanceId (Inherited from Activity.)

Top

Methods

  Name Description
Public method AddHandler (Inherited from DependencyObject.)
Protected method ApplyWorkflowChanges (Inherited from CompositeActivity.)
Protected method Cancel (Inherited from SequenceActivity.)
Public method Clone (Inherited from Activity.)
Public method Dispose() (Inherited from DependencyObject.)
Protected method Dispose(Boolean) (Inherited from CompositeActivity.)
Public method Equals (Inherited from Object.)
Protected method Execute (Inherited from SequenceActivity.)
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.)
Protected method GetDynamicActivities (Inherited from CompositeActivity.)
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 SequenceActivity.)
Protected method Initialize (Inherited from CompositeActivity.)
Protected method InitializeProperties (Inherited from DependencyObject.)
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 OnActivityChangeAdd (Inherited from CompositeActivity.)
Protected method OnActivityChangeRemove (Inherited from SequenceActivity.)
Protected method OnActivityExecutionContextLoad (Inherited from CompositeActivity.)
Protected method OnActivityExecutionContextUnload (Inherited from CompositeActivity.)
Protected method OnClosed (Inherited from Activity.)
Protected method OnListChanged (Inherited from CompositeActivity.)
Protected method OnListChanging (Inherited from CompositeActivity.)
Protected method OnSequenceComplete (Inherited from SequenceActivity.)
Protected method OnWorkflowChangesCompleted (Inherited from SequenceActivity.)
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 CompositeActivity.)
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 StatusChanged (Inherited from Activity.)

Top

Fields

  Name Description
Public fieldStatic member __ContextProperty Represents the __Context that the class promotes for use by the workflow runtime.
Public fieldStatic member __ListIdProperty Represents the __ListId that the class promotes for use by the workflow runtime.
Public fieldStatic member __ListItemProperty Represents the __ListItem that the class promotes for use by the workflow runtime.
Public field _afterProperties Specifies a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem after the workflow is executed.
Public field _beforeProperties Specifies a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem before the workflow is executed.
Public field _corrWorkflow Specifies the workflow correlation token.
Public field _workflowId Specifies the workflow ID.
Public field EnterWaitComment Specifies the comment text that is entered as a property of the list item as the workflow is paused.
Public field ExitWaitComment Specifies the comment text that is entered as a property of the list item as the workflow is resumed.
Public fieldStatic member FieldNameProperty Represents the FieldName that the class promotes for use by the workflow runtime.
Public fieldStatic member OperatorProperty Represents the Operator that the class promotes for use by the workflow runtime.
Public fieldStatic member ValueProperty Represents the Value that the class promotes for use by the workflow runtime.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)
Explicit interface implemetationPrivate method IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent (Inherited from SequenceActivity.)

Top

See Also

Reference

WaitForActivity Class

Microsoft.SharePoint.WorkflowActions Namespace