Redigera

Dela via


JSVsaException Constructors

Definition

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Overloads

JSVsaException()

Initializes a new instance of the JSVsaException class with a system-supplied message that describes the error. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

JSVsaException(JSVsaError)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

JSVsaException(String)

Initializes a new instance of the JSVsaException class with a specified message that describes the error. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

JSVsaException(JSVsaError, String)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

JSVsaException(SerializationInfo, StreamingContext)

Initializes a new instance of the JSVsaException class with serialized data. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

JSVsaException(String, Exception)

Initializes a new instance of the JSVsaException class with a specified error message and a reference to the inner exception that is the cause of this exception. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

JSVsaException(JSVsaError, String, Exception)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

JSVsaException()

Initializes a new instance of the JSVsaException class with a system-supplied message that describes the error. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public:
 JSVsaException();
public JSVsaException ();
Public Sub New ()

Applies to

JSVsaException(JSVsaError)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public:
 JSVsaException(Microsoft::JScript::Vsa::JSVsaError error);
public JSVsaException (Microsoft.JScript.Vsa.JSVsaError error);
new Microsoft.JScript.Vsa.JSVsaException : Microsoft.JScript.Vsa.JSVsaError -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (error As JSVsaError)

Parameters

error
JSVsaError

A JSVsaError value that describes the reason for the exception.

Applies to

JSVsaException(String)

Initializes a new instance of the JSVsaException class with a specified message that describes the error. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public:
 JSVsaException(System::String ^ message);
public JSVsaException (string message);
new Microsoft.JScript.Vsa.JSVsaException : string -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (message As String)

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Applies to

JSVsaException(JSVsaError, String)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public:
 JSVsaException(Microsoft::JScript::Vsa::JSVsaError error, System::String ^ message);
public JSVsaException (Microsoft.JScript.Vsa.JSVsaError error, string message);
new Microsoft.JScript.Vsa.JSVsaException : Microsoft.JScript.Vsa.JSVsaError * string -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (error As JSVsaError, message As String)

Parameters

error
JSVsaError

A JSVsaError value that describes the reason for the exception.

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Applies to

JSVsaException(SerializationInfo, StreamingContext)

Initializes a new instance of the JSVsaException class with serialized data. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public:
 JSVsaException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public JSVsaException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.JScript.Vsa.JSVsaException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The object that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

JSVsaException(String, Exception)

Initializes a new instance of the JSVsaException class with a specified error message and a reference to the inner exception that is the cause of this exception. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public:
 JSVsaException(System::String ^ message, Exception ^ innerException);
public JSVsaException (string message, Exception innerException);
new Microsoft.JScript.Vsa.JSVsaException : string * Exception -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to

JSVsaException(JSVsaError, String, Exception)

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

public:
 JSVsaException(Microsoft::JScript::Vsa::JSVsaError error, System::String ^ message, Exception ^ innerException);
public JSVsaException (Microsoft.JScript.Vsa.JSVsaError error, string message, Exception innerException);
new Microsoft.JScript.Vsa.JSVsaException : Microsoft.JScript.Vsa.JSVsaError * string * Exception -> Microsoft.JScript.Vsa.JSVsaException
Public Sub New (error As JSVsaError, message As String, innerException As Exception)

Parameters

error
JSVsaError

A JSVsaError value that describes the reason for the exception.

message
String

The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not null, the current exception is raised in a catch block that handles the inner exception.

Applies to