Activity Methods

Activity Methods

 

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

NameDescription
System_CAPS_pubmethodAddHandler(DependencyProperty, Object)

Adds a handler for an event of a DependencyObject.(Inherited from DependencyObject.)

System_CAPS_protmethodCancel(ActivityExecutionContext)

Called by the workflow runtime to cancel execution of an activity that is currently executing.

System_CAPS_pubmethodClone()

Creates a deep copy of the Activity.

System_CAPS_pubmethodDispose()

Releases all the resources used by the DependencyObject.(Inherited from DependencyObject.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.(Inherited from DependencyObject.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodExecute(ActivityExecutionContext)

Called by the workflow runtime to execute an activity.

System_CAPS_protmethodFinalize()

Provided as an override to Object.Finalize to clean up any unmanaged resources deterministically.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetActivityByName(String)

Returns the instance of the Activity whose name is requested from the set of all activities running under the root activity of this instance, which is within the workflow.

System_CAPS_pubmethodGetActivityByName(String, Boolean)

Returns the instance of the Activity whose name is requested from the set of all activities under the root the Activity of this instance if the second parameter is false and under the current Activity if the second parameter is true.

System_CAPS_pubmethodGetBinding(DependencyProperty)

Provides access to the ActivityBind associated with the specific DependencyProperty.(Inherited from DependencyObject.)

System_CAPS_protmethodGetBoundValue(ActivityBind, Type)

Retrieves the Object that is the subject of an ActivityBind.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetInvocationList<T>(DependencyProperty)

Gets an array that contains the delegates for the specified DependencyProperty.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValue(DependencyProperty)

Provides access to the value of the designated DependencyProperty.(Inherited from DependencyObject.)

System_CAPS_pubmethodGetValueBase(DependencyProperty)

Provides access to the bound object of a DependencyProperty and bypasses the GetValue override.(Inherited from DependencyObject.)

System_CAPS_protmethodHandleFault(ActivityExecutionContext, Exception)

Called when an exception is raised within the context of the execution of this instance.

System_CAPS_protmethodInitialize(IServiceProvider)

Called by the workflow runtime to initialize an activity during the construction of a new workflow instance. This method is called during the construction of a dynamic ActivityExecutionContext.

System_CAPS_protmethodInitializeProperties()

Performs initialization on dependency properties when overridden in a derived class.(Inherited from DependencyObject.)

System_CAPS_protmethodInvoke<T>(EventHandler<T>, T)

Subscribes an EventHandler and invokes that delegate.

System_CAPS_protmethodInvoke<T>(IActivityEventListener<T>, T)

Subscribes an IActivityEventListener<T> and invokes that delegate.

System_CAPS_pubmethodIsBindingSet(DependencyProperty)

Indicates whether the value of a DependencyProperty is set as a binding. See SetBinding.(Inherited from DependencyObject.)

System_CAPS_pubmethodSystem_CAPS_staticLoad(Stream, Activity)

Loads an instance of an Activity from a Stream.

System_CAPS_pubmethodSystem_CAPS_staticLoad(Stream, Activity, IFormatter)

Loads an instance of an Activity from a Stream using the custom IFormatter for deserialization.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMetaEquals(DependencyObject)

Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.(Inherited from DependencyObject.)

System_CAPS_protmethodOnActivityExecutionContextLoad(IServiceProvider)

Called by the workflow runtime whenever an ActivityExecutionContext is loaded. For example, this method is called during the creation of an ActivityExecutionContext as well as every time the ActivityExecutionContext is reincarnated when a workflow instance is loaded from persistent storage.

System_CAPS_protmethodOnActivityExecutionContextUnload(IServiceProvider)

Called by the workflow runtime whenever an ActivityExecutionContext is unloaded. For example, this method is called during completion of an ActivityExecutionContext as well as every time the ActivityExecutionContext is unloaded when a workflow instance is persisted.

System_CAPS_protmethodOnClosed(IServiceProvider)

Called by the workflow runtime as part of the activity's transition to the closed state.

System_CAPS_protmethodRaiseEvent(DependencyProperty, Object, EventArgs)

Raises an Event associated with the specified dependency property.

System_CAPS_protmethodRaiseGenericEvent<T>(DependencyProperty, Object, T)

Raises the event associated with the referenced DependencyProperty.

System_CAPS_pubmethodRegisterForStatusChange(DependencyProperty, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>)

Registers the specified DependencyProperty for the status change event.

System_CAPS_pubmethodRemoveHandler(DependencyProperty, Object)

Removes an EventHandler from an associated DependencyProperty.(Inherited from DependencyObject.)

System_CAPS_pubmethodRemoveProperty(DependencyProperty)

Removes a DependencyProperty from the DependencyObject.(Inherited from DependencyObject.)

System_CAPS_pubmethodSave(Stream)

Writes the Activity to a Stream for persistence.

System_CAPS_pubmethodSave(Stream, IFormatter)

Writes the Activity to a Stream for persistence using the custom IFormatter provided for serialization.

System_CAPS_pubmethodSetBinding(DependencyProperty, ActivityBind)

Sets the ActivityBind for the specified DependencyProperty. (Inherited from DependencyObject.)

System_CAPS_protmethodSetBoundValue(ActivityBind, Object)

Sets the value of the target ActivityBind.(Inherited from DependencyObject.)

System_CAPS_protmethodSetReadOnlyPropertyValue(DependencyProperty, Object)

Sets the value of a DependencyProperty, which is read-only.(Inherited from DependencyObject.)

System_CAPS_pubmethodSetValue(DependencyProperty, Object)

Sets the value of the DependencyProperty to the object.(Inherited from DependencyObject.)

System_CAPS_pubmethodSetValueBase(DependencyProperty, Object)

Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue.(Inherited from DependencyObject.)

System_CAPS_pubmethodToString()

Provides a string that represents this instance.(Overrides Object.ToString().)

System_CAPS_protmethodTrackData(Object)

Informs the run-time tracking infrastructure of pending tracking information.

System_CAPS_protmethodTrackData(String, Object)

Informs the run-time tracking infrastructure of pending tracking information.

System_CAPS_protmethodUninitialize(IServiceProvider)

When overridden in a derived class, provides un-initialization by a service provider for the activity.

System_CAPS_pubmethodUnregisterForStatusChange(DependencyProperty, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>)

Un-registers the specified DependencyProperty for the status change event.

Return to top
Show:
© 2016 Microsoft