System.Workflow.ComponentModel.Activity
Represents the fundamental building block of workflows. Activity is the base class for all activities. |
Public Constructors
Overloaded. Initializes a new instance of the Activity class. |
Public Fields
The DependencyProperty representing the Guid of the Activity. |
|
Represents the DependencyProperty which targets the Canceling event. |
|
Represents the DependencyProperty which targets the Closed event. |
|
Represents the DependencyProperty which targets the Compensating event. |
|
Represents the DependencyProperty which targets the Executing event, which occurs when the activity is executed. |
|
The DependencyProperty representing the Faulting event. |
|
Represents the DependencyProperty which targets the StatusChanged event. |
|
Public Properties
Gets or sets the user defined description of the Activity. |
|
Gets or sets a value that indicates whether this instance is enabled for execution, and validation. |
|
Gets the ActivityExecutionResult of the last attempt to run this instance |
|
Gets the current ActivityExecutionStatus of this instance. |
|
Gets or sets the name of this instance. |
|
Gets the Activity that encloses this Activity. |
|
Gets the qualified name of the instance. |
|
Gets or sets a reference to the Site component of the DependencyObject.(Inherited from DependencyObject.) |
|
Gets an IDictionary which associates custom data with this class.(Inherited from DependencyObject.) |
Protected Properties
Gets the value that indicates whether this instance is in design or run-time mode.(Inherited from DependencyObject.) |
|
Gets the parent DependencyObject in the DependencyObject graph.(Inherited from DependencyObject.) |
|
Gets the Guid associated with the instance. |
Public Methods
Adds a handler for an event of a DependencyObject. (Inherited from DependencyObject.) |
|
Creates a deep copy of the Activity. |
|
Overloaded. Returns the instance of the Activity whose name is requested from the set of all activities running under the root activity of this instance; that is within the workflow. |
|
Provides access to the Bind associated with the specific DependencyProperty. (Inherited from DependencyObject.) |
|
Provides access to the value of the designated DependencyProperty. (Inherited from DependencyObject.) |
|
Provides access to the bound object of a DependencyProperty and bypassing the GetValue override. (Inherited from DependencyObject.) |
|
Broadcasts that a DependencyProperty is no longervalid. (Inherited from DependencyObject.) |
|
Indicates whether the value of a DependencyProperty is set as Binding. See SetBinding. (Inherited from DependencyObject.) |
|
Load (静态) |
Overloaded. Loads an instance of an Activity from a Stream. |
Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject. (Inherited from DependencyObject.) |
|
Raises an Event associated with the specified dependency property. |
|
Raises the event associated with the referenced DependencyProperty. |
|
Registers the specified DependencyProperty for the status change event. |
|
Removes an EventHandler from an associated DependencyProperty. (Inherited from DependencyObject.) |
|
Removes a DependencyProperty from the DependencyObject. (Inherited from DependencyObject.) |
|
Overloaded. Saves a copy of the Activity to a Stream. |
|
Sets the ActivityBind for the specified DependencyProperty. (Inherited from DependencyObject.) |
|
Sets the value of the DependencyProperty to the object. (Inherited from DependencyObject.) |
|
Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue. (Inherited from DependencyObject.) |
|
Overridden. Provides a string representing this instance. |
|
Un-registers the specified DependencyProperty for the status change event. |
Protected Methods
Method used to cancel execution of an activity. |
|
Runs the activity synchronously. |
|
Provided as an override to System.Object.Finalize to clean up any unmanaged resources deterministically. (Inherited from DependencyObject.) |
|
Retrieves the Object which is the subject of a ActvityBind. (Inherited from DependencyObject.) |
|
Provides an array of activity instances which are dynamically created at run-time |
|
Gets an array that contains the delegates for the specified DependencyProperty. (Inherited from DependencyObject.) |
|
Called when an exception is raised within the context of the execution of this instance. |
|
When overridden in a derived class, provides initialization by a service provider for the activity. |
|
Overloaded. |
|
Runs when the activity is closed. |
|
(Inherited from DependencyObject.) |
|
Runs when a DependencyProperty is no longer valid. (Inherited from DependencyObject.) |
|
Sets the value of the target ActivityBind. (Inherited from DependencyObject.) |
|
Sets the value of a DependencyProperty which is read-only. (Inherited from DependencyObject.) |
|
Overloaded. Informs the run-time tracking infrastructure of pending tracking information. |
Public Events
Occurs when the activity execution is cancelled. |
|
Occurs when an Activity has completed execution. |
|
Occurs when running a compensation method on the Activity. |
|
Occurs when the Activity is run. |
|
Occurs when an exception is raised during the running of the instance. |
|
Occurs when the Status of a running Activity changes. |
CompositeActivity
System.Workflow.ComponentModel.CompositeActivity
Derives from Activity and contains a list of child activities. A CompositeActivity is responsible for managing the execution of its child activities. The following tables list the members exposed by the CompositeActivity type. Derives from Activity and contains a list of child activities. A CompositeActivity is responsible for managing the execution of its child activities. |
Public Constructors
Overloaded. Initializes a new instance of the CompositeActivity class. |
Public Properties
Gets the object representing the collection, ActivityCollection, of all child activities. |
|
Gets the Read-Only Collection which represents the subset of Activities which are enabled. |
Protected Properties
Gets or sets a value which controls whether the individual activities within Activities can be modified. |
Protected Methods
Applies the WorkflowChanges manifest in the parameter to this instance. |
|
Overridden. Initializes all appropriate child activities using the WorkflowCoreRuntime of this instance and the specified IServiceProvider. |
|
Calls the specified ActivityExecutionContextInitializeinitialize method using the specified Activity. |
|
Called when an activity is removed. |
|
Performs additional processing when the Activities changes. |
|
Event which occurs before a change being made to the underlying Activities. |
|
Called after changes have been made to the collection Activities of this instance. |