Delegate UsbDeviceConnectionChangedEventHandler
Indicates a change in the connection state of the USB device.
public delegate void UsbDeviceConnectionChangedEventHandler(object sender, DeviceConnectionEventArgs e)
Parameters
sender
objectSpecifies the object that sent the USB device connection state changed event.
e
DeviceConnectionEventArgsContains the connection changed event arguments.
- Extension Methods
Constructors
UsbDeviceConnectionChangedEventHandler(object, IntPtr)
public UsbDeviceConnectionChangedEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, DeviceConnectionEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, DeviceConnectionEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
DeviceConnectionEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, DeviceConnectionEventArgs)
public virtual void Invoke(object sender, DeviceConnectionEventArgs e)
Parameters
sender
objecte
DeviceConnectionEventArgs