Rediger

Del via


Try.JScriptExceptionValue(Object, VsaEngine) Method

Definition

Returns the specified object as an exception, converting it to a specific JScriptException if it can.

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

public:
 static System::Object ^ JScriptExceptionValue(System::Object ^ e, Microsoft::JScript::Vsa::VsaEngine ^ engine);
public static object JScriptExceptionValue (object e, Microsoft.JScript.Vsa.VsaEngine engine);
static member JScriptExceptionValue : obj * Microsoft.JScript.Vsa.VsaEngine -> obj
Public Shared Function JScriptExceptionValue (e As Object, engine As VsaEngine) As Object

Parameters

e
Object

The object that represents the exception.

engine
VsaEngine

A reference to the scripting engine.

Returns

The exception e, converted to a specific JScriptException if that is possible.

Applies to

See also