Export (0) Print
Expand All

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

.NET Framework 4.6 and 4.5

Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, timeout interval, callback and state.

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

public IAsyncResult BeginLoad(
	WorkflowApplicationInstance instance,
	TimeSpan timeout,
	AsyncCallback callback,
	Object state
)

Parameters

instance
Type: System.Activities.WorkflowApplicationInstance

The 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
A reference to the asynchronous operation.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft