Table of Contents

Delegate UsbDeviceConnectionChangedEventHandler

Namespace
System.Device.Usb
Assembly
System.Device.UsbStream.dll

Indicates a change in the connection state of the USB device.

public delegate void UsbDeviceConnectionChangedEventHandler(object sender, DeviceConnectionEventArgs e)

Parameters

sender object

Specifies the object that sent the USB device connection state changed event.

e DeviceConnectionEventArgs

Contains the connection changed event arguments.

Extension Methods

Constructors

UsbDeviceConnectionChangedEventHandler(object, IntPtr)

public UsbDeviceConnectionChangedEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, DeviceConnectionEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, DeviceConnectionEventArgs e, AsyncCallback callback, object @object)

Parameters

sender object
e DeviceConnectionEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, DeviceConnectionEventArgs)

public virtual void Invoke(object sender, DeviceConnectionEventArgs e)

Parameters

sender object
e DeviceConnectionEventArgs