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

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace