Share via


InvalidCompositeQueryException Constructors

Definition

Initializes a new instance of the InvalidCompositeQueryException class.

Overloads

InvalidCompositeQueryException()

Initializes a new instance of the InvalidCompositeQueryException class.

InvalidCompositeQueryException(String)

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

InvalidCompositeQueryException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidCompositeQueryException class using serialized data.

InvalidCompositeQueryException(String, Exception)

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

InvalidCompositeQueryException()

Initializes a new instance of the InvalidCompositeQueryException class.

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

Applies to

InvalidCompositeQueryException(String)

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

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

Parameters

description
String

The error message that describes the current exception.

Applies to

InvalidCompositeQueryException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidCompositeQueryException class using serialized data.

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

Parameters

serializationInfo
SerializationInfo

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

streamingContext
StreamingContext

Context information about the source or destination of the serialized object.

Remarks

This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.

Applies to

InvalidCompositeQueryException(String, Exception)

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

public:
 InvalidCompositeQueryException(System::String ^ description, Exception ^ innerException);
public InvalidCompositeQueryException (string description, Exception innerException);
new Microsoft.EnterpriseManagement.Common.InvalidCompositeQueryException : string * Exception -> Microsoft.EnterpriseManagement.Common.InvalidCompositeQueryException
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