WorkflowApplicationInstance Class

Definition

指定有关工作流应用程序实例的信息。Specifies information about a workflow application instance.

public ref class WorkflowApplicationInstance
public class WorkflowApplicationInstance
type WorkflowApplicationInstance = class
Public Class WorkflowApplicationInstance
Inheritance
WorkflowApplicationInstance

Remarks

此类支持 Windows Workflow Foundation 的版本控制和动态更新功能。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:

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>)

返回指示 WorkflowApplicationInstance 是否可以应用更新的值。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()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to