PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.0)
public struct MethodBindingInvokeAwaitable

The MethodBindingInvokeAwaitable type exposes the following members.

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