Share via


UnexpectedResultSetException Constructors

Definition

Initializes a new instance of the UnexpectedResultSetException class.

Overloads

UnexpectedResultSetException()

Initializes a new instance of the UnexpectedResultSetException class.

UnexpectedResultSetException(String)

Initializes a new instance of the UnexpectedResultSetException class with the specified message.

UnexpectedResultSetException(SerializationInfo, StreamingContext)

Initializes a new instance of the UnexpectedResultSetException class with serialized data.

UnexpectedResultSetException(String, Exception)

Initializes a new instance of the UnexpectedResultSetException class with the specified message and a reference to the inner exception that is the cause of this exception.

UnexpectedResultSetException()

Initializes a new instance of the UnexpectedResultSetException class.

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

Applies to

UnexpectedResultSetException(String)

Initializes a new instance of the UnexpectedResultSetException class with the specified message.

public:
 UnexpectedResultSetException(System::String ^ description);
public UnexpectedResultSetException (string description);
new Microsoft.EnterpriseManagement.Common.UnexpectedResultSetException : string -> Microsoft.EnterpriseManagement.Common.UnexpectedResultSetException
Public Sub New (description As String)

Parameters

description
String

The error message that describes the current exception.

Applies to

UnexpectedResultSetException(SerializationInfo, StreamingContext)

Initializes a new instance of the UnexpectedResultSetException class with serialized data.

protected:
 UnexpectedResultSetException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected UnexpectedResultSetException (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new Microsoft.EnterpriseManagement.Common.UnexpectedResultSetException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.UnexpectedResultSetException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameters

serializationInfo
SerializationInfo

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

streamingContext
StreamingContext

The object that contains contextual information about the source or destination.

Applies to

UnexpectedResultSetException(String, Exception)

Initializes a new instance of the UnexpectedResultSetException class with the specified message and a reference to the inner exception that is the cause of this exception.

public:
 UnexpectedResultSetException(System::String ^ description, Exception ^ innerException);
public UnexpectedResultSetException (string description, Exception innerException);
new Microsoft.EnterpriseManagement.Common.UnexpectedResultSetException : string * Exception -> Microsoft.EnterpriseManagement.Common.UnexpectedResultSetException
Public Sub New (description As String, innerException As Exception)

Parameters

description
String

The error message that describes the current exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to