ItemOutOfStockException 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.
Represents the exception for item out of stock error which is thrown on item reservation when there are not enough items in stock to be reserved.
Namespace: Microsoft.Dynamics.Commerce.Runtime
Assembly: Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)
Syntax
'Declaration
Public NotInheritable Class ItemOutOfStockException _
Inherits DataValidationException
'Usage
Dim instance As ItemOutOfStockException
public sealed class ItemOutOfStockException : DataValidationException
public ref class ItemOutOfStockException sealed : public DataValidationException
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Dynamics.Commerce.Runtime.CommerceRuntimeException
Microsoft.Dynamics.Commerce.Runtime.DataValidationException
Microsoft.Dynamics.Commerce.Runtime.ItemOutOfStockException
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.