LoadAsync Method (WorkflowApplication, Guid)

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Wraps the BeginLoad / EndLoad async methods in a task

Namespace: Microsoft.Activities.Extensions
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)

Syntax

C#
public static Task LoadAsync(
	this WorkflowApplication host,
	Guid instanceId
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function LoadAsync ( _
	host As WorkflowApplication, _
	instanceId As Guid _
) As Task
Visual C++
public:
[ExtensionAttribute]
static Task^ LoadAsync(
	WorkflowApplication^ host, 
	Guid instanceId
)

Parameters

host
Type: System.Activities..::..WorkflowApplication
The WorkflowApplication
instanceId
Type: System..::..Guid
The instance ID

Return Value

A Task that will load the WorkflowApplication from the instance store

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WorkflowApplication. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also