PostSharp6.2/API Reference/Post­Sharp.​Aspects Namespace/Method­Binding­Invoke­Awaitable Structure

MethodBindingInvokeAwaitable Structure

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 (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public struct MethodBindingInvokeAwaitable

The MethodBindingInvokeAwaitable type exposes the following members.

Methods
  NameDescription
Public methodGetAwaiter
Gets an awaiter used to await the asynchronous method invocation.
Public methodGetTask
Gets the underlying task that was returned by the asynchronous method invocation.
See Also