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
- 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.