PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Method­Binding­Invoke­Awaitable Structure / Method­Binding­Invoke­Awaitable Methods / Method­Binding­Invoke­Awaitable.​Get­Task Method

MethodBindingInvokeAwaitable.GetTask Method

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

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: (
public Task GetTask()

Return Value

Type: Task
The Task instance returned by the asynchronous method.
See Also