Click or drag to resize
DisposableObject Methods

The DisposableObject type exposes the following members.

Public methodCallOnDispose
Adds the given action to the list of actions called when the handler object is disposed
Public methodDispose
Make sure the objects get disposed
Public methodLock
Locks the event on the given lock object. The context stays locked until the handler is disposed.
Public methodUsing
Adds the given object to the list of the allocated objects to dispose
See Also