PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Binding­Invoke­Awaitable
Open sandboxFocus

MethodBindingInvokeAwaitable Class

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.

Inheritance
MethodBindingInvokeAwaitable
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public sealed class MethodBindingInvokeAwaitable : ValueType

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.