Export (0) Print
Expand All

WorkflowApplication.BeginGetInstance Method (Guid, InstanceStore, TimeSpan, AsyncCallback, Object)

.NET Framework 4.5

Retrieves an instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance identifier, instance store, timeout interval, callback, and state.

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

'Declaration
Public Shared Function BeginGetInstance ( _
	instanceId As Guid, _
	instanceStore As InstanceStore, _
	timeout As TimeSpan, _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult

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

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft