Click or drag to resize

PropertyInvalidException Methods

The PropertyInvalidException type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Public methodStatic memberValidateGreaterThanZero(Double, String)
Validate that the given property value must be greater than zero, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateGreaterThanZero(Int32, String)
Validate that the given property value must be greater than zero, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateGreaterThanZero(Double, String, String)
Validate that the given property value must be greater than zero, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateGreaterThanZero(Int32, String, String)
Validate that the given property value must be greater than zero, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateImplementsInterfaceTInterface(Object, String)
Validate that the given property implements the specified interface.
Public methodStatic memberValidateImplementsInterfaceTInterface(Object, String, String)
Validate that the given property implements the specified interface.
Public methodStatic memberValidateNonNegative(Double, String)
Validate that the given property value must be non-negative, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateNonNegative(Int32, String)
Validate that the given property value must be non-negative, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateNonNegative(Double, String, String)
Validate that the given property value must be non-negative, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateNonNegative(Int32, String, String)
Validate that the given property value must be non-negative, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateNonNull(Object, String)
Validate that the given property value must be non-null, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateNonNull(Object, String, String)
Validate that the given property value must be non-null, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateNonZero(Double, String)
Validate that the given property value must be non-zero, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateNonZero(Double, String, String)
Validate that the given property value must be non-zero, and throw PropertyInvalidException if it is not.
Public methodStatic memberValidateNotEmptyT(ICollectionT, String)
Validate that the given property value must not be or an empty collection, and throw PropertyInvalidException if it is.
Public methodStatic memberValidateNotEmptyT(ICollectionT, String, String)
Validate that the given property value must not be or an empty collection, and throw PropertyInvalidException if it is.
Public methodStatic memberValidateNotEmptyTKey, TValue(IDictionaryTKey, TValue, String)
Validate that the given property value must not be or an empty dictionary, and throw PropertyInvalidException if it is.
Public methodStatic memberValidateNotEmptyTKey, TValue(IDictionaryTKey, TValue, String, String)
Validate that the given property value must not be or an empty dictionary, and throw PropertyInvalidException if it is.
Public methodStatic memberValidateNotNaN(Double, String)
Validate that the given property value must not be NaN, and throw PropertyInvalidException if it is.
Public methodStatic memberValidateNotNaN(Double, String, String)
Validate that the given property value must not be NaN, and throw PropertyInvalidException if it is.
Public methodStatic memberValidateZeroToOne
Validate that the given property value must be between zero and one, and throw PropertyInvalidException if it is not.
Top
See Also