CogIOMCB Close Method Cognex VisionPro
Close the device. This releases the underlying hardware, making it available for use later or by another thread. In general, only call this when you are finished using the device, such as when your application is about to exit.

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax

public override void Close()
Events

Exceptions

ExceptionCondition
ObjectDisposedException If this CogIOMCB object has already been disposed.
InvalidOperationException If IsDeviceOpen is false.
See Also