CheckState Method

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

Verifies that the object has not already been disposed.

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

Syntax

'Declaration
Protected Overridable Sub CheckState
'Usage

Me.CheckState()
protected virtual void CheckState()
protected:
virtual void CheckState()
protected function CheckState()

Exceptions

Exception Condition
ObjectDisposedException

The object has already been disposed.

Remarks

Use this method to verify that the class has not already been disposed.

Throws the ObjectDisposedException if the object has already been disposed.

Permissions

See Also

Reference

ContentItemCollection Class

ContentItemCollection Members

Microsoft.CommerceServer.Runtime.Targeting Namespace