Table of Contents

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 object

Specifies the object that sent the Removable Device event.

e RemovableDriveEventArgs

Contains the Removable Device event arguments.

Extension Methods

Constructors

RemovableDeviceEventHandler(object, IntPtr)

public RemovableDeviceEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, RemovableDriveEventArgs, AsyncCallback, object)

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

Parameters

sender object
e RemovableDriveEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, RemovableDriveEventArgs)

public virtual void Invoke(object sender, RemovableDriveEventArgs e)

Parameters

sender object
e RemovableDriveEventArgs