Open sandboxFocus

Struct MethodBindingInvokeAwaitable

Represents the awaitable result of the asynchronous method invocation. Await this value to get the System.Object instance containing the return value of the async method. The result of the await is null for async methods that do not return any value.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public struct MethodBindingInvokeAwaitable

Methods

Name Description
GetAwaiter()

Gets an awaiter used to await the asynchronous method invocation.

GetTask()

Gets the underlying task that was returned by the asynchronous method invocation.