This documentation is archived and is not being maintained.

WorkflowApplication Methods

The WorkflowApplication type exposes the following members.

  NameDescription
Public method Abort() Notifies the workflow runtime that this workflow instance should abort.
Public method Abort(String) Notifies the workflow runtime that this workflow instance should abort for the specified reason.
Public method AddInitialInstanceValues Specifies instance metadata values that are included with the first persistence of a new instance.
Public method BeginCancel(AsyncCallback, Object) Cancels a workflow instance asynchronously using the specified AsyncCallback and user-provided state.
Public method BeginCancel(TimeSpan, AsyncCallback, Object) Cancels a workflow instance asynchronously using the specified time-out interval, AsyncCallback, and user-provided state.
Public method BeginLoad(Guid, AsyncCallback, Object) Loads a workflow asynchronously from an instance store using the specified instance identifier, callback method, and user-provided state.
Public method BeginLoad(Guid, TimeSpan, AsyncCallback, Object) Loads a workflow asynchronously from an instance store using the specified instance identifier, timeout period, callback method, and user-provided state.
Public method BeginLoadRunnableInstance(AsyncCallback, Object) Initiates an operation to load a runnable workflow instance from the InstanceStore.
Public method BeginLoadRunnableInstance(TimeSpan, AsyncCallback, Object) Initiates an operation to load a runnable workflow instance from the InstanceStore using the specified time-out interval.
Public method BeginPersist(AsyncCallback, Object) Persists a workflow instance to an instance store asynchronously using the specified callback method and user-provided state.
Public method BeginPersist(TimeSpan, AsyncCallback, Object) Persists a workflow instance to an instance store asynchronously using the specified time-out interval, callback method, and user-provided state.
Public method BeginResumeBookmark(Bookmark, Object, AsyncCallback, Object) Initiates an operation to resume a bookmark using the specified value, callback method, and state.
Public method BeginResumeBookmark(String, Object, AsyncCallback, Object) Initiates an asynchronous operation to resume the bookmark with the specified name, using the specified value, callback method, and state. The bookmark to be resumed is previously created by an activity within the workflow instance.
Public method BeginResumeBookmark(Bookmark, Object, TimeSpan, AsyncCallback, Object) Initiates an operation to resume a bookmark using the specified value, time-out interval, callback method, and state.
Public method BeginResumeBookmark(String, Object, TimeSpan, AsyncCallback, Object) Initiates an asynchronous operation to resume the bookmark with the specified name, using the specified value, time-out interval, callback method, and state. The bookmark to be resumed is previously created by an activity within the workflow instance.
Public method BeginRun(AsyncCallback, Object) Starts or resumes a workflow instance asynchronously using the specified callback method and user-provided state.
Public method BeginRun(TimeSpan, AsyncCallback, Object) Starts or resumes a workflow instance asynchronously using the specified time-out interval, callback method, and user-provided state.
Public method BeginTerminate(Exception, AsyncCallback, Object) Terminates a workflow instance asynchronously using the specified exception, callback method, and user-provided state.
Public method BeginTerminate(String, AsyncCallback, Object) Terminates a workflow instance asynchronously using the specified error message, callback method, and user-provided state.
Public method BeginTerminate(Exception, TimeSpan, AsyncCallback, Object) Terminates a workflow instance asynchronously using the specified exception, time-out interval, callback method, and user-provided state.
Public method BeginTerminate(String, TimeSpan, AsyncCallback, Object) Terminates a workflow instance asynchronously using the specified error message, time-out interval, callback method, and user-provided state.
Public method BeginUnload(AsyncCallback, Object) Persists and disposes a workflow instance asynchronously using the specified callback method and user-provided state.
Public method BeginUnload(TimeSpan, AsyncCallback, Object) Persists and disposes a workflow instance asynchronously using the specified time-out interval, callback method, and user-provided state.
Public method Cancel() Cancels the workflow instance.
Public method Cancel(TimeSpan) Cancels the workflow instance using the specified time-out interval.
Protected method DisposeExtensions Calls Dispose() on all extensions that implement IDisposable. (Inherited from WorkflowInstance.)
Public method EndCancel Waits for the pending asynchronous cancel operation to complete.
Public method EndLoad Waits for the pending asynchronous load operation to complete.
Public method EndLoadRunnableInstance Waits for the asynchronous load runnable instance operation to complete.
Public method EndPersist Waits for the pending asynchronous persist operation to complete.
Public method EndResumeBookmark Waits for a bookmark resume operation to complete.
Public method EndRun Waits for the pending asynchronous run operation to complete.
Public method EndTerminate Waits for the pending asynchronous terminate operation to complete.
Public method EndUnload Waits for the pending asynchronous unload operation to complete.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBookmarks() Returns the collection of bookmarks for the workflow instance.
Public method GetBookmarks(TimeSpan) Returns the collection of bookmarks for the workflow instance using the specified time-out interval.
Protected method GetExtension<T> Returns an extension of the specified type. (Inherited from WorkflowInstance.)
Protected method GetExtensions<T> Returns all extensions found for the specified type. (Inherited from WorkflowInstance.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize(Object) Called by the host to initialize the workflow instance with the workflow run-time state. (Inherited from WorkflowInstance.)
Protected method Initialize(IDictionary<String, Object>, IList<Handle>) Called by the host to initialize the workflow instance with the argument values and execution properties. (Inherited from WorkflowInstance.)
Public method Load(Guid) Loads the specified workflow instance into memory from an instance store.
Public method Load(Guid, TimeSpan) Loads the specified workflow instance into memory from an instance store using the specified time-out interval.
Public method LoadRunnableInstance() Loads a runnable workflow instance from the InstanceStore.
Public method LoadRunnableInstance(TimeSpan) Loads a runnable workflow instance from the InstanceStore using the specified time-out interval.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnBeginAssociateKeys Called by the workflow runtime to notify the host that new instance keys should be associated with this instance. (Inherited from WorkflowInstance.)
Protected method OnBeginFlushTrackingRecords Asynchronous call to ask host to flush pending tracking records to tracking participants. (Inherited from WorkflowInstance.)
Protected method OnBeginPersist Asynchronous call to ask the host to persist the workflow. (Inherited from WorkflowInstance.)
Protected method OnBeginResumeBookmark Called by the workflow runtime to notify the host that a resume bookmark operation is beginning. (Inherited from WorkflowInstance.)
Protected method OnDisassociateKeys Called by the workflow runtime to notify the host that a certain set of instance keys should no longer be associated with this instance. (Inherited from WorkflowInstance.)
Protected method OnEndAssociateKeys Called by the workflow runtime to notify the host that an associate keys operation is complete. (Inherited from WorkflowInstance.)
Protected method OnEndFlushTrackingRecords Called by the workflow runtime to notify the host when the flush tracking records operation is complete. (Inherited from WorkflowInstance.)
Protected method OnEndPersist Called by the workflow runtime to notify the host that a persist operation is complete. (Inherited from WorkflowInstance.)
Protected method OnEndResumeBookmark Called by the workflow runtime to notify the host that a resume bookmark operation is complete. (Inherited from WorkflowInstance.)
Protected method OnNotifyPaused Called by the workflow runtime to notify the host that the workflow instance has transitioned from the running state to the paused state. (Inherited from WorkflowInstance.)
Protected method OnNotifyUnhandledException Called by the workflow runtime to notify the host an unhandled exception has occurred in the workflow instance. (Inherited from WorkflowInstance.)
Protected method OnRequestAbort Called by the workflow runtime to notify the host that an abort operation has been requested for the workflow instance. (Inherited from WorkflowInstance.)
Public method Persist() Persists a workflow instance to an instance store.
Public method Persist(TimeSpan) Persists a workflow instance to an instance store using the specified time-out interval.
Protected method RegisterExtensionManager Called by the host to register the specified extension manager, validate that all required extensions are present, and to initialize the collection of extensions to be used. (Inherited from WorkflowInstance.)
Public method ResumeBookmark(Bookmark, Object) Initiates an operation to resume the specified bookmark, using the specified value. The bookmark to be resumed is previously created by an activity within the workflow instance.
Public method ResumeBookmark(String, Object) Initiates an operation to resume the bookmark with the specified name, using the specified value. The bookmark to be resumed is previously created by an activity within the workflow instance.
Public method ResumeBookmark(Bookmark, Object, TimeSpan) Initiates an operation to resume the specified bookmark, using the specified value and time-out interval. The bookmark to be resumed is previously created by an activity within the workflow instance.
Public method ResumeBookmark(String, Object, TimeSpan) Initiates an operation to resume the bookmark with the specified name, using the specified value and time-out interval. The bookmark to be resumed is previously created by an activity within the workflow instance.
Public method Run() Begins or resumes the execution of a workflow instance.
Public method Run(TimeSpan) Begins or resumes the execution of a workflow instance using the specified time-out interval.
Public method Terminate(Exception) Terminates a workflow instance using the specified exception.
Public method Terminate(String) Terminates a workflow instance using the specified error message.
Public method Terminate(Exception, TimeSpan) Terminates a workflow instance using the specified exception and time-out interval.
Public method Terminate(String, TimeSpan) Terminates a workflow instance using the specified error message and time-out interval.
Protected method ThrowIfReadOnly Throws an InvalidOperationException if the workflow instance has been initialized, as determined by IsReadOnly. (Inherited from WorkflowInstance.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Unload() Persists and unloads a workflow instance.
Public method Unload(TimeSpan) Persists and unloads a workflow instance using the specified time-out interval.
Top
Show: