Delegate RemovableDeviceEventHandler
- Namespace
- nanoFramework.System.IO
- Assembly
- System.IO.FileSystem.dll
Provides an event handler that is called when a Removable Device event occurs.
public delegate void RemovableDeviceEventHandler(object sender, RemovableDriveEventArgs e)
Parameters
sender
objectSpecifies the object that sent the Removable Device event.
e
RemovableDriveEventArgsContains the Removable Device event arguments.
- Extension Methods
Constructors
RemovableDeviceEventHandler(object, IntPtr)
public RemovableDeviceEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, RemovableDriveEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, RemovableDriveEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
RemovableDriveEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, RemovableDriveEventArgs)
public virtual void Invoke(object sender, RemovableDriveEventArgs e)
Parameters
sender
objecte
RemovableDriveEventArgs