PaymentException Class

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Throw during processing of payments.

Namespace:  Microsoft.Dynamics.Commerce.Runtime
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)

Syntax

'Declaration
Public Class PaymentException _
    Inherits CommerceRuntimeException
'Usage
Dim instance As PaymentException
public class PaymentException : CommerceRuntimeException
public ref class PaymentException : public CommerceRuntimeException

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Dynamics.Commerce.Runtime.CommerceRuntimeException
      Microsoft.Dynamics.Commerce.Runtime.PaymentException

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

Microsoft.Dynamics.Commerce.Runtime Namespace