WorkflowApplicationInstance Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies information about a workflow application instance.
public ref class WorkflowApplicationInstance
public class WorkflowApplicationInstance
type WorkflowApplicationInstance = class
Public Class WorkflowApplicationInstance
- Inheritance
-
WorkflowApplicationInstance
Remarks
This class supports the versioning and dynamic update functionality of Windows Workflow Foundation. For more information about workflow versioning, workflow identity, and dynamic update, see the following topics:
Workflow Versioning
Describes the workflow versioning functionality introduced in .NET Framework 4.5.Dynamic Update
Describes how to update the workflow definition of a persisted workflow instance by using dynamic update.Using WorkflowApplication Identity and Versioning
Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.Side by Side Versioning in WorkflowServiceHost
Describes how to host multiple versions of a workflow on a single endpoint.How to: Host Multiple Versions of a Workflow Side-by-Side
This step in the Getting Started Tutorial demonstrates updating a workflow definition, and hosting workflows using both the old and new definition at the same time.How to: Update the Definition of a Running Workflow Instance
This step in the Getting Started Tutorial demonstrates updating persisted workflow instances to use a new workflow definition.
Properties
DefinitionIdentity |
Gets or sets the definition identity of the workflow. |
InstanceId |
Gets the unique identifier of the workflow instance. |
InstanceStore |
Gets or sets an object that provides access to the persisted state of the current instance of the workflow application. |
Methods
Abandon() |
Causes the state machine to transition to the abandoned state. |
Abandon(TimeSpan) |
Causes the state machine to transition to the abandoned state with the specified timeout value. |
BeginAbandon(AsyncCallback, Object) |
Begins an asynchronous abandon operation. |
BeginAbandon(TimeSpan, AsyncCallback, Object) |
Begins an asynchronous abandon operation. |
CanApplyUpdate(DynamicUpdateMap, IList<ActivityBlockingUpdate>) |
Returns a value that indicates whether the WorkflowApplicationInstance can apply update. |
EndAbandon(IAsyncResult) |
Completes an asynchronous abandon operation. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
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) |