TplExtensions::NoThrowAwaitable Method (Task^, Boolean)
Visual Studio 2015
Returns an awaitable for the specified task that will never throw, even if the source task faults or is canceled.
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
public: [ExtensionAttribute] static TplExtensions::NoThrowTaskAwaitable NoThrowAwaitable( Task^ task, bool captureContext = true )
Return Value
Type: Microsoft.VisualStudio.Threading::TplExtensions::NoThrowTaskAwaitableReturns TplExtensions::NoThrowTaskAwaitable.
Show: