CheckState Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Verifies that the current order group instance has not already been disposed.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Protected Sub CheckState
'Usage
Me.CheckState()
protected void CheckState()
protected:
void CheckState()
protected function CheckState()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder. |
Remarks
Throws the InvalidOperationException if the object has already been disposed.
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.