Muokkaa

Jaa


DebugConvert.GetErrorMessageForHR Method

Definition

Overloads

GetErrorMessageForHR(Int32, IJSVsaEngine)

This API supports the product infrastructure and is not intended to be used directly from your code.

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.

Gets an error message that is created from the specified HResult and the CultureInfo of the specified VsaEngine.

GetErrorMessageForHR(Int32, IJSVsaEngine)

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:
 virtual 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
override this.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.

Implements

See also

Applies to

GetErrorMessageForHR(Int32, IVsaEngine)

Gets an error message that is created from the specified HResult and the CultureInfo of the specified VsaEngine.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual 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
override this.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.

Implements

See also

Applies to