Export (0) Print
Expand All

WorkflowApplication Methods

The WorkflowApplication type exposes the following members.

  Name Description
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 Static member BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, AsyncCallback, Object) Creates a default instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, definition identity, identity filter, callback and state.
Public method Static member BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, TimeSpan, AsyncCallback, Object) Creates a default instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, definition identity, identity filter, timeout interval, callback and state.
Public method Static member BeginDeleteDefaultInstanceOwner(InstanceStore, AsyncCallback, Object) Deletes a default instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, callback, and state.
Public method Static member BeginDeleteDefaultInstanceOwner(InstanceStore, TimeSpan, AsyncCallback, Object) Deletes a default instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, timeout interval, callback, and state.
Public method Static member BeginGetInstance(Guid, InstanceStore, AsyncCallback, Object) Retrieves an instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance identifier, instance store, callback, and state.
Public method Static member BeginGetInstance(Guid, InstanceStore, TimeSpan, AsyncCallback, Object) Retrieves an instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance identifier, instance store, timeout interval, callback, and state.
Public method Static member BeginGetRunnableInstance(InstanceStore, AsyncCallback, Object) Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, callback, and state.
Public method Static member BeginGetRunnableInstance(InstanceStore, TimeSpan, AsyncCallback, Object) Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, timeout interval, callback, and 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(WorkflowApplicationInstance, AsyncCallback, Object) Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, callback and 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 BeginLoad(WorkflowApplicationInstance, DynamicUpdateMap, AsyncCallback, Object) Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, update map, callback and state.
Public method BeginLoad(WorkflowApplicationInstance, TimeSpan, AsyncCallback, Object) Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, timeout interval, callback and state.
Public method BeginLoad(WorkflowApplicationInstance, DynamicUpdateMap, TimeSpan, AsyncCallback, Object) Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, update map, timeout interval, callback and 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.
Public method Static member CreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter) Creates a default instance owner for the workflow using specified instance store, definition identity, and identity filter.
Public method Static member CreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, TimeSpan) Creates a default instance owner for the workflow using specified instance store, definition identity, and identity filter and timeout interval.
Public method Static member DeleteDefaultInstanceOwner(InstanceStore) Deletes a default instance owner for the workflow with specified instance store.
Public method Static member DeleteDefaultInstanceOwner(InstanceStore, TimeSpan) Deletes a default instance owner for the workflow with specified instance store and timeout interval..
Public method EndCancel Waits for the pending asynchronous cancel operation to complete.
Public method Static member EndCreateDefaultInstanceOwner Waits for the creation of default instance owner to complete.
Public method Static member EndDeleteDefaultInstanceOwner Waits for the deletion of default instance owner to complete.
Public method Static member EndGetInstance Waits for the instance retrieval to complete.
Public method Static member EndGetRunnableInstance Waits for the asynchronous retrieval of runnable instance 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.)
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 the default hash function. (Inherited from Object.)
Public method Static member GetInstance(Guid, InstanceStore) Retrieves the workflow instance using specified instance identifier and instance store.
Public method Static member GetInstance(Guid, InstanceStore, TimeSpan) Retrieves the workflow instance using specified instance identifier, instance store and timeout interval.
Public method Static member GetRunnableInstance(InstanceStore) Retrieves the runnable instance of the workflow with specified instance store.
Public method Static member GetRunnableInstance(InstanceStore, TimeSpan) Retrieves the runnable instance of the workflow with specified instance store and timeout interval.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Load(Guid) Loads the specified workflow instance into memory from an instance store.
Public method Load(WorkflowApplicationInstance) Loads a workflow instance from an instance store with specified instance.
Public method Load(Guid, TimeSpan) Loads the specified workflow instance into memory from an instance store using the specified time-out interval.
Public method Load(WorkflowApplicationInstance, DynamicUpdateMap) Loads a workflow instance from an instance store with specified instance and update map.
Public method Load(WorkflowApplicationInstance, TimeSpan) Loads a workflow instance from an instance store with specified instance and timeout interval.
Public method Load(WorkflowApplicationInstance, DynamicUpdateMap, TimeSpan) Loads a workflow instance from an instance store with specified instance, update map and timeout 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 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 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 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 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.
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.
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:
© 2014 Microsoft