ErrorHandler::ThrowOnFailure Method (Int32)
Visual Studio 2015
Determines whether the parameter is a success or failure HRESULT and throws an exception in case of failure.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- hr
-
Type:
System::Int32
The HRESULT to test.
Show: