PostSharp 6.9 / / 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: 6.9.7.0 (6.9.7.0)
Syntax
C#
public Task GetTask()

Return Value

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