Share via


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

See Also

Reference

JoinableTask Class

Microsoft.VisualStudio.Threading Namespace