JScriptException JScriptException JScriptException JScriptException Constructors

Definition

Overloads

JScriptException() JScriptException() JScriptException()

Initializes a new instance of the JScriptException class.

JScriptException(JSError) JScriptException(JSError) JScriptException(JSError) JScriptException(JSError)

Initializes a new instance of the JScriptException class, using the specified JSError.

JScriptException(String) JScriptException(String) JScriptException(String) JScriptException(String)

Initializes a new instance of the JScriptException class, using the specified error message.

JScriptException(SerializationInfo, StreamingContext) JScriptException(SerializationInfo, StreamingContext) JScriptException(SerializationInfo, StreamingContext) JScriptException(SerializationInfo, StreamingContext)

Initializes a new instance of the JScriptException class, using the specified serialized data.

JScriptException(String, Exception) JScriptException(String, Exception) JScriptException(String, Exception) JScriptException(String, Exception)

Initializes a new instance of the JScriptException class, using the specified error message and a reference to the inner exception that is the cause of this exception.

JScriptException() JScriptException() JScriptException()

JScriptException(JSError) JScriptException(JSError) JScriptException(JSError) JScriptException(JSError)

Initializes a new instance of the JScriptException class, using the specified JSError.

public:
 JScriptException(Microsoft::JScript::JSError errorNumber);
public JScriptException (Microsoft.JScript.JSError errorNumber);
new Microsoft.JScript.JScriptException : Microsoft.JScript.JSError -> Microsoft.JScript.JScriptException
Public Sub New (errorNumber As JSError)

Parameters

errorNumber
JSError JSError JSError JSError

One of the enumeration values. The value specifies the error.

See also

JScriptException(String) JScriptException(String) JScriptException(String) JScriptException(String)

Initializes a new instance of the JScriptException class, using the specified error message.

public:
 JScriptException(System::String ^ m);
public JScriptException (string m);
new Microsoft.JScript.JScriptException : string -> Microsoft.JScript.JScriptException
Public Sub New (m As String)

Parameters

m
String String String String

The message that describes the error.

See also

JScriptException(SerializationInfo, StreamingContext) JScriptException(SerializationInfo, StreamingContext) JScriptException(SerializationInfo, StreamingContext) JScriptException(SerializationInfo, StreamingContext)

Initializes a new instance of the JScriptException class, using the specified serialized data.

protected:
 JScriptException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected JScriptException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.JScript.JScriptException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.JScript.JScriptException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The serialized object data about the exception that is being thrown.

context
StreamingContext StreamingContext StreamingContext StreamingContext

Contextual information about the source or destination.

See also

JScriptException(String, Exception) JScriptException(String, Exception) JScriptException(String, Exception) JScriptException(String, Exception)

Initializes a new instance of the JScriptException class, using the specified error message and a reference to the inner exception that is the cause of this exception.

public:
 JScriptException(System::String ^ m, Exception ^ e);
public JScriptException (string m, Exception e);
new Microsoft.JScript.JScriptException : string * Exception -> Microsoft.JScript.JScriptException
Public Sub New (m As String, e As Exception)

Parameters

m
String String String String

The message that describes the error.

e
Exception Exception Exception Exception

The exception that is the cause of the current exception.

See also

Applies to