[This is preliminary documentation and is subject to change.]

Creates a completed Task with the specified Result value.

Namespace: Simple.Web.HelpersSimple.Web.HelpersSimple::Web::Helpers
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static Task Completed()

VB

Public Shared Function Completed() As Task

C++

public:

static Task^ Completed()

Return Value

Type: System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskSystem.Threading.Tasks::Task
A Task set to completed with the specified value as the null.

See Also

TaskHelperTaskHelperTaskHelper Class
CompletedCompletedCompleted Overload
Simple.Web.HelpersSimple.Web.HelpersSimple::Web::Helpers Namespace