JoinableTaskFactory.MainThreadAwaitable.NoThrowAwaitable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an awaitable for the specified SwitchToMainThreadAsync(CancellationToken) operation that will not throw an exception if cancellation is requested.
public Microsoft.VisualStudio.Threading.JoinableTaskFactory.MainThreadAwaitable NoThrowAwaitable ();
member this.NoThrowAwaitable : unit -> Microsoft.VisualStudio.Threading.JoinableTaskFactory.MainThreadAwaitable
Public Function NoThrowAwaitable () As JoinableTaskFactory.MainThreadAwaitable
Returns
An awaitable.