Jaa


ShippingMethodNotSavedException Constructor (String, String)

Initializes a new instance of the ShippingMethodNotSavedException class using the specified error message.

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

Syntax

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

Dim instance As New ShippingMethodNotSavedException(message, _
    shippingGroupIds)
public ShippingMethodNotSavedException(
    string message,
    string shippingGroupIds
)
public:
ShippingMethodNotSavedException(
    String^ message, 
    String^ shippingGroupIds
)
public function ShippingMethodNotSavedException(
    message : String, 
    shippingGroupIds : String
)

Parameters

  • message
    Type: System..::.String
    The error message that explains the reason for the exception.
  • shippingGroupIds
    Type: System..::.String
    Comma separated list of shipping group IDs which could not be saved.

Remarks

The exception that is thrown when an optimistic concurrency failure occurs while saving the shipping methods.

With optimistic concurrency, a user doesn't lock a row from the instant he or she prepares to update it. A row lock applies only for the split second that ADO.NET commits a change.

Permissions

See Also

Reference

ShippingMethodNotSavedException Class

ShippingMethodNotSavedException Members

ShippingMethodNotSavedException Overload

Microsoft.CommerceServer.Orders Namespace