TaskExtensions ContinueOnAnyContext Method (Task)Couchbase .NET SDK 2.1.0 Documentation
Makes the Task resume on the Thread that completed the Task.

Namespace: Couchbase.Utils
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
public static Task ContinueOnAnyContext(
	this Task task
)

Parameters

task
Type: System.Threading.Tasks Task
The current Task.

Return Value

Type: Task
The current Task

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Task. 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