This documentation is archived and is not being maintained.
WorkflowInstance::WorkflowInstanceControl Structure
Visual Studio 2010
Provides methods for WorkflowInstance derived classes to access the functionality of the workflow runtime.
Assembly: System.Activities (in System.Activities.dll)
The WorkflowInstance::WorkflowInstanceControl type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HasPendingTrackingRecords | Called by the workflow runtime to determine whether this workflow instance has pending tracking records and a tracking participant. |
![]() | IsPersistable | Gets a value that indicates whether the WorkflowInstance is in a state where it can be persisted. |
![]() | State | Gets the state of the WorkflowInstance. |
![]() | TrackingEnabled | Called by the workflow runtime to determine whether tracking is enabled in this workflow instance. |
| Name | Description | |
|---|---|---|
![]() | Abort() | Aborts the WorkflowInstance. |
![]() | Abort(Exception) | Aborts the WorkflowInstance using the specified exception. |
![]() | BeginFlushTrackingRecords | Called by the workflow runtime to begin sending pending tracking records to tracking participants asynchronously. |
![]() | EndFlushTrackingRecords | Called by the workflow runtime to end the track operation. |
![]() | Equals | Returns a value that indicates whether the current WorkflowInstance::WorkflowInstanceControl is equal to the specified object. (Overrides ValueType::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FlushTrackingRecords | Called by the workflow runtime to send pending tracking records to tracking participants. |
![]() | GetAbortReason | Returns the exception that causes the WorkflowInstance to abort. |
![]() | GetBookmarks() | Returns the collection of available bookmarks for the WorkflowInstance. |
![]() | GetBookmarks(BookmarkScope) | Returns the collection of available bookmarks for the WorkflowInstance created in the specified BookmarkScope. |
![]() | GetCompletionState() | Returns the final ActivityInstanceState of the WorkflowInstance. |
![]() | GetCompletionState(Exception%) | Returns the final ActivityInstanceState of the WorkflowInstance, including termination exception. |
![]() | GetCompletionState(IDictionary<String, Object>%, Exception%) | Returns the final ActivityInstanceState of the WorkflowInstance, including workflow outputs and termination exception. |
![]() | GetHashCode | Returns the hash code for this WorkflowInstance::WorkflowInstanceControl. (Overrides ValueType::GetHashCode().) |
![]() | GetMappedVariables | Returns a dictionary of variables in the current scope that have been specified with Mapped. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PauseWhenPersistable | Requests that the workflow runtime pause the WorkflowInstance at the next point of execution where it is possible to persist. Note that the scheduler queue may not be empty at this point. |
![]() | PrepareForSerialization | Prepares the WorkflowInstance state for serialization. |
![]() | RequestPause | Requests that the scheduler stops. |
![]() | Run | Instructs the WorkflowInstance to begin execution. |
![]() | ScheduleBookmarkResumption(Bookmark, Object) | Schedules a bookmark resumption with the specified value. |
![]() | ScheduleBookmarkResumption(Bookmark, Object, BookmarkScope) | Schedules a Bookmark resumption from the specified BookmarkScope. |
![]() | ScheduleCancel | Schedules the cancellation of the WorkflowInstance. |
![]() | Terminate | Transitions the WorkflowInstance into the terminal Faulted state using the specified exception. |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
![]() | Track | Called by the workflow runtime to add the specified pending record to the list of pending records. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Returns a value that indicates whether two WorkflowInstance::WorkflowInstanceControl instances are equal. |
![]() ![]() | Inequality | Returns a value that indicates whether two WorkflowInstance::WorkflowInstanceControl instances are not equal. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
