Table of Contents

Delegate RemovableDeviceEventHandler

Namespace
Windows.Storage
Assembly
Windows.Storage.dll

Provides an event handler that is called when a Removable Device event occurs.

public delegate void RemovableDeviceEventHandler(object sender, RemovableDeviceEventArgs e)

Parameters

sender object

Specifies the object that sent the Removable Device event.

e RemovableDeviceEventArgs

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, RemovableDeviceEventArgs, AsyncCallback, object)

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

Parameters

sender object
e RemovableDeviceEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, RemovableDeviceEventArgs)

public virtual void Invoke(object sender, RemovableDeviceEventArgs e)

Parameters

sender object
e RemovableDeviceEventArgs