ErrorHandler::ExceptionToHResult Method (Exception^, Boolean)

Visual Studio 2015
 

Namespace:   Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
static int ExceptionToHResult(
	Exception^ ex,
	bool reportError = false
)

Parameters

ex
Type: System::Exception^

reportError
Type: System::Boolean

Return Value

Type: System::Int32

Return to top
Show: