Try.JScriptExceptionValue(Object, VsaEngine) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.