WorkflowApplication.BeginLoad Method (Guid, TimeSpan, AsyncCallback, Object)

.NET Framework (current version)
 

Loads a workflow asynchronously from an instance store using the specified instance identifier, timeout period, callback method, and user-provided state.

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

public IAsyncResult BeginLoad(
	Guid instanceId,
	TimeSpan timeout,
	AsyncCallback callback,
	object state
)

Parameters

instanceId
Type: System.Guid

A globally unique 128-bit identifier for the workflow instance.

timeout
Type: System.TimeSpan

The interval in which the begin load operation must complete before the operation is canceled and a TimeoutException is thrown.

callback
Type: System.AsyncCallback

The method to be called when the begin load operation has completed.

state
Type: System.Object

An optional application-specific object that contains information about the asynchronous operation.

Return Value

Type: System.IAsyncResult

The status of an asynchronous operation.

.NET Framework
Available since 4.0
Return to top
Show: