Partager via


StringLengthValidationException Members

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The exception that is thrown when a string property is not within the allowed length requirement.

The StringLengthValidationException type exposes the following members.

Constructors

  Name Description
Aa139104.pubmethod(en-US,CS.70).gif StringLengthValidationException Overloaded. Initializes a new instance of the StringLengthValidationException class.

Top

Methods

  Name Description
Aa139104.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa139104.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa139104.pubmethod(en-US,CS.70).gif GetBaseException (Inherited from Exception.)
Aa139104.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa139104.pubmethod(en-US,CS.70).gif GetObjectData Populates a SerializationInfo with data needed to serialize the StringLengthValidationException. (Overrides PropertyValidationException..::.GetObjectData(SerializationInfo, StreamingContext).)
Aa139104.pubmethod(en-US,CS.70).gif GetType (Inherited from Exception.)
Aa139104.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa139104.pubmethod(en-US,CS.70).gif ToString (Inherited from Exception.)

Top

Properties

  Name Description
Aa139104.pubproperty(en-US,CS.70).gif ActualLength Gets or sets the actual length of the string.
Aa139104.pubproperty(en-US,CS.70).gif Data (Inherited from Exception.)
Aa139104.pubproperty(en-US,CS.70).gif HelpLink (Inherited from Exception.)
Aa139104.protproperty(en-US,CS.70).gif HResult (Inherited from Exception.)
Aa139104.pubproperty(en-US,CS.70).gif InnerException (Inherited from Exception.)
Aa139104.pubproperty(en-US,CS.70).gif MaxLength Gets or sets the maximum length required for the string.
Aa139104.pubproperty(en-US,CS.70).gif Message (Inherited from Exception.)
Aa139104.pubproperty(en-US,CS.70).gif MinLength Gets or sets the minimum length required for the string.
Aa139104.pubproperty(en-US,CS.70).gif PropertyName Gets or sets the name of the property that caused the validation exception. (Inherited from PropertyValidationException.)
Aa139104.pubproperty(en-US,CS.70).gif Source (Inherited from Exception.)
Aa139104.pubproperty(en-US,CS.70).gif StackTrace (Inherited from Exception.)
Aa139104.pubproperty(en-US,CS.70).gif TargetSite (Inherited from Exception.)

Top

See Also

Reference

StringLengthValidationException Class

Microsoft.CommerceServer Namespace