Share via


MinimumValueValidationException Constructor (String)

Initializes a new instance of the MinimumValueValidationException class with the specified error message.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New MinimumValueValidationException(message)
public MinimumValueValidationException(
    string message
)
public:
MinimumValueValidationException(
    String^ message
)
public function MinimumValueValidationException(
    message : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.

Remarks

MinimumValueValidationException is thrown when an attempt is made to save an entity and at least one numeric property of that entity is smaller than the minimum allowed value for that property.

Permissions

See Also

Reference

MinimumValueValidationException Class

MinimumValueValidationException Members

MinimumValueValidationException Overload

Microsoft.CommerceServer Namespace