Share via


OrderContextNotInitializedException Class

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

The exception that is thrown when a MappedStorageBase attempts to get an order system from Current, and the order context is nullNothingnullptra null reference (Nothing in Visual Basic).

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

Syntax

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

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Microsoft.CommerceServer.Runtime.Orders..::.OrderContextNotInitializedException

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

OrderContextNotInitializedException Members

Microsoft.CommerceServer.Runtime.Orders Namespace