Bagikan melalui


PaymentMethodNotSavedException 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 payment methods.

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class PaymentMethodNotSavedException _
    Inherits Exception
'Usage
Dim instance As PaymentMethodNotSavedException
[SerializableAttribute]
public class PaymentMethodNotSavedException : Exception
[SerializableAttribute]
public ref class PaymentMethodNotSavedException : public Exception
public class PaymentMethodNotSavedException 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..::.PaymentMethodNotSavedException

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

PaymentMethodNotSavedException Members

Microsoft.CommerceServer.Orders Namespace