Compartilhar via


PexException Constructors

Definition

Overloads

PexException()

Initializes a new instance of the PexException class.

PexException(String)

Initializes a new instance of the PexException class.

PexException(SerializationInfo, StreamingContext)

Initializes a new instance of the PexException class.

PexException(String, Exception)

Initializes a new instance of the PexException class.

PexException()

Initializes a new instance of the PexException class.

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

Applies to

PexException(String)

Initializes a new instance of the PexException class.

public:
 PexException(System::String ^ message);
public PexException (string message);
new Microsoft.Pex.Framework.Exceptions.PexException : string -> Microsoft.Pex.Framework.Exceptions.PexException
Public Sub New (message As String)

Parameters

message
String

The message.

Applies to

PexException(SerializationInfo, StreamingContext)

Initializes a new instance of the PexException class.

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

Parameters

info
SerializationInfo

The info.

context
StreamingContext

The context.

Applies to

PexException(String, Exception)

Initializes a new instance of the PexException class.

public:
 PexException(System::String ^ message, Exception ^ inner);
public PexException (string message, Exception inner);
new Microsoft.Pex.Framework.Exceptions.PexException : string * Exception -> Microsoft.Pex.Framework.Exceptions.PexException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The message.

inner
Exception

The inner.

Applies to