Delegate RemovableDeviceEventHandler
Provides an event handler that is called when a Removable Device event occurs.
public delegate void RemovableDeviceEventHandler(object sender, RemovableDeviceEventArgs e)
Parameters
sender
objectSpecifies the object that sent the Removable Device event.
e
RemovableDeviceEventArgsContains the Removable Device event arguments.
- Extension Methods
Constructors
RemovableDeviceEventHandler(object, IntPtr)
public RemovableDeviceEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, RemovableDeviceEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, RemovableDeviceEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
RemovableDeviceEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, RemovableDeviceEventArgs)
public virtual void Invoke(object sender, RemovableDeviceEventArgs e)
Parameters
sender
objecte
RemovableDeviceEventArgs