Class HandleObject

Base class for objects referencing an underlying library handle.

Implements
Namespace: ic4
Assembly: ic4dotnet.dll
Syntax
public abstract class HandleObject : IDisposable
Remarks

It is recommended to call Dispose() on all HandleObject-derived objects as soon as they are no longer required.

Trying any operation on a disposed HandleObject throws an ObjectDisposedException.

Methods

Dispose()

Releases the underlying library's object handle.

Declaration
public void Dispose()

Dispose(bool)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

~HandleObject()

Releases the underlying library's handle, unless the object has already been disposed.

Declaration
protected ~HandleObject()

Implements