OrderContextNotInitializedException Constructor (String)
Initializes a new instance of the OrderContextNotInitializedException class with the specified error message.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
message As String _
)
'Usage
Dim message As String
Dim instance As New OrderContextNotInitializedException(message)
public OrderContextNotInitializedException(
string message
)
public:
OrderContextNotInitializedException(
String^ message
)
public function OrderContextNotInitializedException(
message : String
)
Parameters
- message
Type: System..::.String
The error message that explains the reason for the exception.
Remarks
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).
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
OrderContextNotInitializedException Class
OrderContextNotInitializedException Members