WorkflowApplication.GetInstance Method (Guid, InstanceStore, TimeSpan)

.NET Framework (current version)
 

Retrieves the workflow instance using specified instance identifier, instance store and timeout interval.

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

public static WorkflowApplicationInstance GetInstance(
	Guid instanceId,
	InstanceStore instanceStore,
	TimeSpan timeout
)

Parameters

instanceId
Type: System.Guid

The instance identifier.

instanceStore
Type: System.Runtime.DurableInstancing.InstanceStore

The access to the persisted state of the current instance of the workflow application.

timeout
Type: System.TimeSpan

The interval in which the begin load operation must complete before the operation is canceled.

Return Value

Type: System.Activities.WorkflowApplicationInstance

A reference to the asynchronous operation.

.NET Framework
Available since 4.5
Return to top
Show: