PaymentMethodNotSavedException Constructor (String, String)
Initializes a new instance of the PaymentMethodNotSavedException 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, _
paymentGroupIds As String _
)
'Usage
Dim message As String
Dim paymentGroupIds As String
Dim instance As New PaymentMethodNotSavedException(message, _
paymentGroupIds)
public PaymentMethodNotSavedException(
string message,
string paymentGroupIds
)
public:
PaymentMethodNotSavedException(
String^ message,
String^ paymentGroupIds
)
public function PaymentMethodNotSavedException(
message : String,
paymentGroupIds : String
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
- paymentGroupIds
Type: System..::.String
Comma separated list of payment group IDs which could not be saved.
Remarks
The exception that is thrown when an optimistic concurrency failure occurs while saving the payment 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PaymentMethodNotSavedException Class
PaymentMethodNotSavedException Members