C# Class JavaScriptEngineSwitcher.ChakraCore.JsRt.JsException

Inheritance: System.Exception
Mostra file Open project: Taritsyn/JavaScriptEngineSwitcher Class Usage Examples

Public Methods

Method Description
JsException ( JsErrorCode errorCode ) : System

Initializes a new instance of the JsException class

JsException ( JsErrorCode errorCode, string message ) : System

Initializes a new instance of the JsException class with a specified error message

Protected Methods

Method Description
JsException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the JsException class with serialized data

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

JsException() public method

Initializes a new instance of the JsException class
public JsException ( JsErrorCode errorCode ) : System
errorCode JsErrorCode The error code returned
return System

JsException() public method

Initializes a new instance of the JsException class with a specified error message
public JsException ( JsErrorCode errorCode, string message ) : System
errorCode JsErrorCode The error code returned
message string The error message
return System

JsException() protected method

Initializes a new instance of the JsException class with serialized data
protected JsException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The object that holds the serialized data
context System.Runtime.Serialization.StreamingContext The contextual information about the source or destination
return System