Throws an [ObjectDisposedException] if the object is in the disposed state.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Protected Sub CheckDisposed |
Visual Basic (usage) |
---|
Me. CheckDisposed() |
C# |
---|
protected void CheckDisposed() |
Remarks
This routine should be called in the prolog of every public routine in this class and its derived classes. It ensures that no operations are performed on disposed objects.