Edit

Bagikan melalui


ActivityExecutionContextManager Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Allows a CompositeActivity to create and manage execution contexts for its child activities. This class cannot be inherited.

public ref class ActivityExecutionContextManager sealed
public sealed class ActivityExecutionContextManager
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityExecutionContextManager
type ActivityExecutionContextManager = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityExecutionContextManager = class
Public NotInheritable Class ActivityExecutionContextManager
Inheritance
ActivityExecutionContextManager
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Properties

ExecutionContexts

Represents the set of execution contexts, created by the current activity, that have not yet been completed.

PersistedExecutionContexts

Represents the set of execution contexts, created by the current activity, that have been completed and were persisted upon their completion.

Methods

CompleteExecutionContext(ActivityExecutionContext, Boolean)

Marks an execution context as completed.

CompleteExecutionContext(ActivityExecutionContext)

Marks an execution context as completed.

CreateExecutionContext(Activity)

Creates an ActivityExecutionContext for the designated Activity.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetExecutionContext(Activity)

Gets the ActivityExecutionContext associated with the designated Activity.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetPersistedExecutionContext(Guid)

Retrieves the persisted ActivityExecutionContext corresponding to the designated Guid.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to