Redigera

Dela via


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.

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

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.

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