Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the current instance of the OrderContext.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Shared ReadOnly Property Current As OrderContext
'Usage
Dim value As OrderContext
value = OrderContext.Current
public static OrderContext Current { get; }
public:
static property OrderContext^ Current {
OrderContext^ get ();
}
public static function get Current () : OrderContext
Property Value
Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderContext
The current OrderContext.
Remarks
Provides access to the current instance of the OrderContext. Holds the instance of the OrderContext for the console application scenario.
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.