IVsTaskCompletionSource::SetFaulted Method (Int32)
Visual Studio 2015
Sets the task owned by this source to the faulted state (with the given HRESULT code).
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Parameters
- hr
-
Type:
System::Int32
The error code to set in the faulted state.
Show: