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
- 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.