共用方式為


ShippingMethodNotSavedException Class

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

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

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class ShippingMethodNotSavedException _
    Inherits Exception
'Usage
Dim instance As ShippingMethodNotSavedException
[SerializableAttribute]
public class ShippingMethodNotSavedException : Exception
[SerializableAttribute]
public ref class ShippingMethodNotSavedException : public Exception
public class ShippingMethodNotSavedException extends Exception

Remarks

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.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Orders..::.ShippingMethodNotSavedException

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

ShippingMethodNotSavedException Members

Microsoft.CommerceServer.Orders Namespace