Partajați prin


StringLengthValidationException Class

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.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class StringLengthValidationException _
    Inherits PropertyValidationException
'Usage
Dim instance As StringLengthValidationException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class StringLengthValidationException : PropertyValidationException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class StringLengthValidationException : public PropertyValidationException
public class StringLengthValidationException extends PropertyValidationException

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.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer..::.PropertyValidationException
      Microsoft.CommerceServer..::.StringLengthValidationException

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

StringLengthValidationException Members

Microsoft.CommerceServer Namespace