Share via


ArgumentConstraintException Class

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

Inheritance Hierarchy

System.Object
  System.Exception
    System.SystemException
      System.ArgumentException
        Microsoft.ReportingServices.RdlObjectModel.ArgumentConstraintException
          Microsoft.ReportingServices.RdlObjectModel.ArgumentTooLargeException
          Microsoft.ReportingServices.RdlObjectModel.ArgumentTooSmallException

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ArgumentConstraintException _
    Inherits ArgumentException
'Usage
Dim instance As ArgumentConstraintException
[SerializableAttribute]
public class ArgumentConstraintException : ArgumentException
[SerializableAttribute]
public ref class ArgumentConstraintException : public ArgumentException
[<SerializableAttribute>]
type ArgumentConstraintException =  
    class 
        inherit ArgumentException 
    end
public class ArgumentConstraintException extends ArgumentException

The ArgumentConstraintException type exposes the following members.

Constructors

  Name Description
Protected method ArgumentConstraintException(SerializationInfo, StreamingContext) Infrastructure. Initializes a new instance of the ArgumentConstraintException class.
Public method ArgumentConstraintException(Object, String, Object, Object, String) Initializes a new instance of the ArgumentConstraintException class.

Top

Properties

  Name Description
Public property Component Gets the component where the exception occurred.
Public property Constraint Gets the object that demonstrates the constraint.
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from ArgumentException.)
Public property ParamName (Inherited from ArgumentException.)
Public property Property Gets the property that caused the exception.
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)
Public property Value Gets the value of the property.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from ArgumentException.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace