WorkflowInstance.WorkflowInstanceControl Structure

WorkflowInstance.WorkflowInstanceControl Structure

.NET Framework (current version)
 

Provides methods for WorkflowInstance derived classes to access the functionality of the workflow runtime.

Namespace:   System.Activities.Hosting
Assembly:  System.Activities (in System.Activities.dll)

protected struct WorkflowInstanceControl

NameDescription
System_CAPS_pubpropertyHasPendingTrackingRecords

Called by the workflow runtime to determine whether this workflow instance has pending tracking records and a tracking participant.

System_CAPS_pubpropertyIsPersistable

Gets a value that indicates whether the WorkflowInstance is in a state where it can be persisted.

System_CAPS_pubpropertyState

Gets the state of the WorkflowInstance.

System_CAPS_pubpropertyTrackingEnabled

Called by the workflow runtime to determine whether tracking is enabled in this workflow instance.

NameDescription
System_CAPS_pubmethodAbort()

Aborts the WorkflowInstance.

System_CAPS_pubmethodAbort(Exception)

Aborts the WorkflowInstance using the specified exception.

System_CAPS_pubmethodBeginFlushTrackingRecords(TimeSpan, AsyncCallback, Object)

Called by the workflow runtime to begin sending pending tracking records to tracking participants asynchronously.

System_CAPS_pubmethodEndFlushTrackingRecords(IAsyncResult)

Called by the workflow runtime to end the track operation.

System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether the current WorkflowInstance.WorkflowInstanceControl is equal to the specified object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodFlushTrackingRecords(TimeSpan)

Called by the workflow runtime to send pending tracking records to tracking participants.

System_CAPS_pubmethodGetAbortReason()

Returns the exception that causes the WorkflowInstance to abort.

System_CAPS_pubmethodGetBookmarks()

Returns the collection of available bookmarks for the WorkflowInstance.

System_CAPS_pubmethodGetBookmarks(BookmarkScope)

Returns the collection of available bookmarks for the WorkflowInstance created in the specified BookmarkScope.

System_CAPS_pubmethodGetCompletionState()

Returns the final ActivityInstanceState of the WorkflowInstance.

System_CAPS_pubmethodGetCompletionState(Exception)

Returns the final ActivityInstanceState of the WorkflowInstance, including termination exception.

System_CAPS_pubmethodGetCompletionState(IDictionary<String, Object>, Exception)

Returns the final ActivityInstanceState of the WorkflowInstance, including workflow outputs and termination exception.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this WorkflowInstance.WorkflowInstanceControl.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetMappedVariables()

Returns a dictionary of variables in the current scope that have been specified with Mapped.

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodPauseWhenPersistable()

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.

System_CAPS_pubmethodPrepareForSerialization()

Prepares the WorkflowInstance state for serialization.

System_CAPS_pubmethodRequestPause()

Requests that the scheduler stops.

System_CAPS_pubmethodRun()

Instructs the WorkflowInstance to begin execution.

System_CAPS_pubmethodScheduleBookmarkResumption(Bookmark, Object)

Schedules a bookmark resumption with the specified value.

System_CAPS_pubmethodScheduleBookmarkResumption(Bookmark, Object, BookmarkScope)

Schedules a Bookmark resumption from the specified BookmarkScope.

System_CAPS_pubmethodScheduleCancel()

Schedules the cancellation of the WorkflowInstance.

System_CAPS_pubmethodTerminate(Exception)

Transitions the WorkflowInstance into the terminal Faulted state using the specified exception.

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

System_CAPS_pubmethodTrack(WorkflowInstanceRecord)

Called by the workflow runtime to add the specified pending record to the list of pending records.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(WorkflowInstance.WorkflowInstanceControl, WorkflowInstance.WorkflowInstanceControl)

Returns a value that indicates whether two WorkflowInstance.WorkflowInstanceControl instances are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(WorkflowInstance.WorkflowInstanceControl, WorkflowInstance.WorkflowInstanceControl)

Returns a value that indicates whether two WorkflowInstance.WorkflowInstanceControl instances are not equal.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft