PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Binding­Invoke­AwaitableGet­Task
Open sandboxFocus

MethodBindingInvokeAwaitable.GetTask Method

GetTask()

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

Declaration
public Task GetTask()
Returns
Type Description
System.Threading.Tasks.Task

The System.Threading.Tasks.Task instance returned by the asynchronous method.