ArgumentConstraintException Class

Definition

The exception that is thrown when the value of a property is outside of the constraint applied.

public ref class ArgumentConstraintException : ArgumentException
[System.Serializable]
public class ArgumentConstraintException : ArgumentException
[<System.Serializable>]
type ArgumentConstraintException = class
    inherit ArgumentException
Public Class ArgumentConstraintException
Inherits ArgumentException
Inheritance
ArgumentConstraintException
Derived
Attributes

Constructors

ArgumentConstraintException(Object, String, Object, Object, String)

Initializes a new instance of the ArgumentConstraintException class.

ArgumentConstraintException(SerializationInfo, StreamingContext)

Initializes a new instance of the ArgumentConstraintException class.

Properties

Component

Gets the component where the exception occurred.

Constraint

Gets the object that demonstrates the constraint.

Property

Gets the property that caused the exception.

Value

Gets the value of the property.

Applies to