ICImagingControl.DeviceLost Event

This event is called if the video capture device is no longer valid; for example if it was unplugged.
Syntax:
[C#]
public event System.EventHandler<ICImagingControl.DeviceLostEventArgs> DeviceLost;
Parameter Description
sender

The object in that the event occured, in this case the appropriate instance if ICImagingControl

e

A DeviceLostEventArgs object containing information about the lost device.

Remarks:

The ICImagingControl.Device property should be cleared by setting it to an empty string ("") in the DeviceLost sub.

See also: ICImagingControl, ICImagingControl.Device, ICImagingControl.LiveStart, ICImagingControl.LiveStop, DeviceLostEventArgs

<< ICImagingControl