Bewerken

Share via


NoContextException Constructors

Definition

Initializes a new instance of the NoContextException class.

Overloads

NoContextException()

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

Initializes a new instance of the NoContextException class.

NoContextException(String)

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

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

NoContextException(SerializationInfo, StreamingContext)

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

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

NoContextException(String, Exception)

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

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

NoContextException()

Initializes a new instance of the NoContextException class.

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

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

See also

Applies to

NoContextException(String)

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

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

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

Parameters

m
String

The message that describes the error.

See also

Applies to

NoContextException(SerializationInfo, StreamingContext)

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

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

protected:
 NoContextException(System::Runtime::Serialization::SerializationInfo ^ s, System::Runtime::Serialization::StreamingContext c);
protected NoContextException (System.Runtime.Serialization.SerializationInfo s, System.Runtime.Serialization.StreamingContext c);
new Microsoft.JScript.NoContextException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.JScript.NoContextException
Protected Sub New (s As SerializationInfo, c As StreamingContext)

Parameters

s
SerializationInfo

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

c
StreamingContext

Contextual information about the source or destination.

See also

Applies to

NoContextException(String, Exception)

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

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

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

Parameters

m
String

The message that describes the error.

e
Exception

The exception that is the cause of the current exception.

See also

Applies to