Läs på engelska Redigera

Dela 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 object JScriptExceptionValue (object e, Microsoft.JScript.Vsa.VsaEngine engine);

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

Produkt Versioner
.NET Framework 1.1, 2.0, 3.0, 3.5, 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

See also