IDebugConvert.GetErrorMessageForHR Method
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.
GetErrorMessageForHR(Int32, IJSVsaEngine) |
This API supports the product infrastructure and is not intended to be used directly from your code. When implemented in a class, gets an error message that is created from the specified HResult and the CultureInfo of the specified IJSVsaEngine. |
GetErrorMessageForHR(Int32, IVsaEngine) |
This API supports the product infrastructure and is not intended to be used directly from your code. When implemented in a class, gets an error message that is created from the specified HResult and the CultureInfo of the specified IVsaEngine. |
When implemented in a class, gets an error message that is created from the specified HResult and the CultureInfo of the specified IJSVsaEngine.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::String ^ GetErrorMessageForHR(int hr, Microsoft::JScript::Vsa::IJSVsaEngine ^ engine);
public string GetErrorMessageForHR(int hr, Microsoft.JScript.Vsa.IJSVsaEngine engine);
abstract member GetErrorMessageForHR : int * Microsoft.JScript.Vsa.IJSVsaEngine -> string
Public Function GetErrorMessageForHR (hr As Integer, engine As IJSVsaEngine) As String
Parameters
- hr
- Int32
The HRESULT error code.
- engine
- IJSVsaEngine
A reference to the scripting engine.
Returns
A localized string that contains information about the error.
See also
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
When implemented in a class, gets an error message that is created from the specified HResult and the CultureInfo of the specified IVsaEngine.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::String ^ GetErrorMessageForHR(int hr, Microsoft::Vsa::IVsaEngine ^ engine);
public string GetErrorMessageForHR(int hr, Microsoft.Vsa.IVsaEngine engine);
abstract member GetErrorMessageForHR : int * Microsoft.Vsa.IVsaEngine -> string
Public Function GetErrorMessageForHR (hr As Integer, engine As IVsaEngine) As String
Parameters
- hr
- Int32
The HRESULT error code.
- engine
- IVsaEngine
A reference to the scripting engine.
Returns
A localized string that contains information about the error.
See also
Applies to
.NET Framework 3.5 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: