PostSharp6.2/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.2.13.0 (6.2.13.0)
Syntax
C#
public Task GetTask()

Return Value

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