Try.JScriptExceptionValue Method (Object, VsaEngine)

 

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

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

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public static object JScriptExceptionValue(
	object e,
	VsaEngine engine
)

Parameters

e
Type: System.Object

The object that represents the exception.

engine
Type: Microsoft.JScript.Vsa.VsaEngine

A reference to the scripting engine.

Return Value

Type: System.Object

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

.NET Framework
Available since 1.1
Return to top
Show: