Share via


CorruptedResultException Constructors

Definition

Overloads

CorruptedResultException()

Initializes a new instance of the CorruptedResultException class.

CorruptedResultException(String)

Initializes a new instance of the CorruptedResultException class by using the provided message.

CorruptedResultException(SerializationInfo, StreamingContext)

Initializes a new instance of the CorruptedResultException class by using the provided information and context.

CorruptedResultException(String, Exception)

Initializes a new instance of the CorruptedResultException class by using the provided message and inner exception.

CorruptedResultException()

Initializes a new instance of the CorruptedResultException class.

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

Applies to

CorruptedResultException(String)

Initializes a new instance of the CorruptedResultException class by using the provided message.

public:
 CorruptedResultException(System::String ^ msg);
public CorruptedResultException (string msg);
new Microsoft.VisualStudio.TestTools.Exceptions.CorruptedResultException : string -> Microsoft.VisualStudio.TestTools.Exceptions.CorruptedResultException
Public Sub New (msg As String)

Parameters

msg
String

Message that describes the exception.

Applies to

CorruptedResultException(SerializationInfo, StreamingContext)

Initializes a new instance of the CorruptedResultException class by using the provided information and context.

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

Parameters

info
SerializationInfo

Information about the exception.

context
StreamingContext

The source and the destination of the exception.

Applies to

CorruptedResultException(String, Exception)

Initializes a new instance of the CorruptedResultException class by using the provided message and inner exception.

public:
 CorruptedResultException(System::String ^ msg, Exception ^ inner);
public CorruptedResultException (string msg, Exception inner);
new Microsoft.VisualStudio.TestTools.Exceptions.CorruptedResultException : string * Exception -> Microsoft.VisualStudio.TestTools.Exceptions.CorruptedResultException
Public Sub New (msg As String, inner As Exception)

Parameters

msg
String

Message that describes the exception.

inner
Exception

Exception that caused the current exception.

Applies to