Partager via


StringLengthValidationException Constructor

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

Initializes a new instance of the StringLengthValidationException class.

Overload List

  Name Description
Aa511855.pubmethod(en-US,CS.70).gif StringLengthValidationException()()() Initializes a new instance of the StringLengthValidationException class.
Aa511855.pubmethod(en-US,CS.70).gif StringLengthValidationException(String) Initializes a new instance of the StringLengthValidationException class with the specified error message.
Aa511855.protmethod(en-US,CS.70).gif StringLengthValidationException(SerializationInfo, StreamingContext) Initializes a new instance of the StringLengthValidationException class with the specified serialization and streaming context information.
Aa511855.pubmethod(en-US,CS.70).gif StringLengthValidationException(String, Exception) Initializes a new instance of the StringLengthValidationException class with a specified error message and inner exception that is the cause of this exception.
Aa511855.pubmethod(en-US,CS.70).gif StringLengthValidationException(String, String, Int32, Int32, Int32) Initializes a new instance of the StringLengthValidationException class with a specified message and the specified parameters.
Aa511855.pubmethod(en-US,CS.70).gif StringLengthValidationException(String, String, Int32, Int32, Int32, Exception) Initializes a new instance of the StringLengthValidationException class with a specified message, the specified parameters, and inner exception that is the cause of this exception.

Top

Remarks

StringLengthValidationException is thrown when an attempt is made to save an entity and at least one string property of that entity is not within the allowed length.

See Also

Reference

StringLengthValidationException Class

StringLengthValidationException Members

Microsoft.CommerceServer Namespace