Partager via


ProductPriceException Class

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

The exception that is thrown when the price set for a product is invalid.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

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

Remarks

All catalog exceptions, including the ProductPriceException are derived from the CatalogException class. (The CatalogPricingException is derived from the CatalogException class.) When a price that is set for a product is invalid the ProductPriceException is thrown.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Catalog..::.CatalogException
      Microsoft.CommerceServer.Catalog..::.CatalogPricingException
        Microsoft.CommerceServer.Catalog..::.ProductPriceException

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

ProductPriceException Members

Microsoft.CommerceServer.Catalog Namespace