Compartilhar via


MinimumValueValidationException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the MinimumValueValidationException class with the specified serialization and streaming context information.

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New MinimumValueValidationException(info, context)
protected MinimumValueValidationException(
    SerializationInfo info,
    StreamingContext context
)
protected:
MinimumValueValidationException(
    SerializationInfo^ info, 
    StreamingContext context
)
protected function MinimumValueValidationException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

Remarks

This constructor is needed for serialization when exception propagates from a remoting server to the client.

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