JoinableTask.GetAwaiter Method
Gets an awaiter that is equivalent to calling JoinAsync.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Function GetAwaiter As TaskAwaiter
public TaskAwaiter GetAwaiter()
public:
TaskAwaiter GetAwaiter()
member GetAwaiter : unit -> TaskAwaiter
public function GetAwaiter() : TaskAwaiter
Return Value
Type: System.Runtime.CompilerServices.TaskAwaiter
Returns TaskAwaiter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.