Language

AsyncHelpers.HandleAsyncEntryPoint Method

Definition

Overloads

Name Description
HandleAsyncEntryPoint(Task)

This method is intended to be used by a compiler-generated async entry point.

HandleAsyncEntryPoint(Task<Int32>)

This method is intended to be used by a compiler-generated async entry point.

HandleAsyncEntryPoint(Task)

Source:
AsyncHelpers.NonBrowser.cs

This method is intended to be used by a compiler-generated async entry point.

public:
 static void HandleAsyncEntryPoint(System::Threading::Tasks::Task ^ task);
public static void HandleAsyncEntryPoint(System.Threading.Tasks.Task task);
static member HandleAsyncEntryPoint : System.Threading.Tasks.Task -> unit
Public Shared Sub HandleAsyncEntryPoint (task As Task)

Parameters

task
Task

The result from the main entry point to await.

Remarks

This member supports .NET infrastructure and is not intended to be used directly from your code.

Applies to

HandleAsyncEntryPoint(Task<Int32>)

Source:
AsyncHelpers.NonBrowser.cs

This method is intended to be used by a compiler-generated async entry point.

public:
 static int HandleAsyncEntryPoint(System::Threading::Tasks::Task<int> ^ task);
public static int HandleAsyncEntryPoint(System.Threading.Tasks.Task<int> task);
static member HandleAsyncEntryPoint : System.Threading.Tasks.Task<int> -> int
Public Shared Function HandleAsyncEntryPoint (task As Task(Of Integer)) As Integer

Parameters

task
Task<Int32>

The result from the main entry point to await.

Returns

The exit code returned by the entry point on non-browser platforms, or a placeholder value on browser platforms.

Remarks

This member supports .NET infrastructure and is not intended to be used directly from your code.

Applies to