CodeActivityContext.SetupAsyncOperationBlock Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Indicates to the workflow runtime that no persistence operations be performed until CompleteOperation() or CancelOperation() is called on the returned AsyncOperationContext.

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

public AsyncOperationContext SetupAsyncOperationBlock()

Return Value

Type: System.Activities.AsyncOperationContext
An AsyncOperationContext that references the asynchronous operation block.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 4