次の方法で共有


TraceAssertionException Constructors

Definition

Overloads

TraceAssertionException()

Initializes a new instance of the TraceAssertionException class.

TraceAssertionException(String)

Initializes a new instance of the TraceAssertionException class.

TraceAssertionException(SerializationInfo, StreamingContext)

Initializes a new instance of the TraceAssertionException class.

TraceAssertionException(String, Exception)

Initializes a new instance of the TraceAssertionException class.

TraceAssertionException()

Initializes a new instance of the TraceAssertionException class.

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

Applies to

TraceAssertionException(String)

Initializes a new instance of the TraceAssertionException class.

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

Parameters

message
String

The message.

Applies to

TraceAssertionException(SerializationInfo, StreamingContext)

Initializes a new instance of the TraceAssertionException class.

protected:
 TraceAssertionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected TraceAssertionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Pex.Framework.Exceptions.TraceAssertionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Pex.Framework.Exceptions.TraceAssertionException
Protected 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

TraceAssertionException(String, Exception)

Initializes a new instance of the TraceAssertionException class.

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

Parameters

message
String

The message.

inner
Exception

The inner.

Applies to