InvalidCriteriaException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new InvalidCriteriaException object.
Overloads
InvalidCriteriaException() |
Initializes a new InvalidCriteriaException object. |
InvalidCriteriaException(Exception) |
Initializes a new InvalidCriteriaException object by specifying an inner exception that caused the current exception. |
InvalidCriteriaException(String) |
Initializes a new InvalidCriteriaException object by specifying the error message that describes the current exception. |
InvalidCriteriaException(SerializationInfo, StreamingContext) |
Initializes a new InvalidCriteriaException object with serialized data. |
InvalidCriteriaException(String, Exception) |
Initializes a new InvalidCriteriaException object with an error message and inner exception. |
InvalidCriteriaException()
Initializes a new InvalidCriteriaException object.
public:
InvalidCriteriaException();
public InvalidCriteriaException ();
Public Sub New ()
Applies to
InvalidCriteriaException(Exception)
Initializes a new InvalidCriteriaException object by specifying an inner exception that caused the current exception.
public:
InvalidCriteriaException(Exception ^ inner);
public InvalidCriteriaException (Exception inner);
new Microsoft.EnterpriseManagement.Common.InvalidCriteriaException : Exception -> Microsoft.EnterpriseManagement.Common.InvalidCriteriaException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The Exception instance that caused the current exception.
Applies to
InvalidCriteriaException(String)
Initializes a new InvalidCriteriaException object by specifying the error message that describes the current exception.
public:
InvalidCriteriaException(System::String ^ message);
public InvalidCriteriaException (string message);
new Microsoft.EnterpriseManagement.Common.InvalidCriteriaException : string -> Microsoft.EnterpriseManagement.Common.InvalidCriteriaException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
InvalidCriteriaException(SerializationInfo, StreamingContext)
Initializes a new InvalidCriteriaException object with serialized data.
protected:
InvalidCriteriaException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidCriteriaException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.InvalidCriteriaException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.InvalidCriteriaException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext object that contains contextual information about the source or destination.
Remarks
This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.
Applies to
InvalidCriteriaException(String, Exception)
Initializes a new InvalidCriteriaException object with an error message and inner exception.
public:
InvalidCriteriaException(System::String ^ message, Exception ^ inner);
public InvalidCriteriaException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.InvalidCriteriaException : string * Exception -> Microsoft.EnterpriseManagement.Common.InvalidCriteriaException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that describes the current exception.
- inner
- Exception
The Exception instance that caused the current exception.