Click or drag to resize

IDomeV2Dispose Method

Dispose the late-bound interface, if needed. Will release it via COM if it is a COM object, else if native .NET will just dereference it for garbage collection.

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
void Dispose()
Exceptions
ExceptionCondition
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.
Remarks
It is best practice to always call this method when finished with a driver instance.
See Also