ArgumentConstraintException Class
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.
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. |