Compartilhar via


JoinableTaskFactory.MainThreadAwaitable.GetAwaiter Method

Gets the awaiter.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public Function GetAwaiter As JoinableTaskFactory.MainThreadAwaiter
public JoinableTaskFactory.MainThreadAwaiter GetAwaiter()
public:
JoinableTaskFactory::MainThreadAwaiter GetAwaiter()
member GetAwaiter : unit -> JoinableTaskFactory.MainThreadAwaiter
public function GetAwaiter() : JoinableTaskFactory.MainThreadAwaiter

Return Value

Type: Microsoft.VisualStudio.Threading.JoinableTaskFactory.MainThreadAwaiter
Returns JoinableTaskFactory.MainThreadAwaiter.

.NET Framework Security

See Also

Reference

JoinableTaskFactory.MainThreadAwaitable Structure

Microsoft.VisualStudio.Threading Namespace