IDebugConvert.GetErrorMessageForHR Method

Definition

Overloads

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.

GetErrorMessageForHR(Int32, IJSVsaEngine)

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.

C#
public string GetErrorMessageForHR(int hr, Microsoft.JScript.Vsa.IJSVsaEngine engine);

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

GetErrorMessageForHR(Int32, IVsaEngine)

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.

C#
public string GetErrorMessageForHR(int hr, Microsoft.Vsa.IVsaEngine engine);

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