Table of Contents

Class StorageEventManager

Namespace
Windows.Storage
Assembly
Windows.Storage.dll

Event manager for Storage events.

public static class StorageEventManager
Inheritance
StorageEventManager
Inherited Members

Events

RemovableDeviceInserted

Event that occurs when a Removable Device is inserted.

public static event RemovableDeviceEventHandler RemovableDeviceInserted

Event Type

RemovableDeviceEventHandler

Remarks

The StorageEventManager class raises RemovableDeviceEventArgs events when Removable Devices (typically SD Cards and USB mass storage device) are inserted and removed.

To have a StorageEventManager object call an event-handling method when a RemovableDeviceInserted event occurs, you must associate the method with a RemovableDeviceEventHandler delegate, and add this delegate to this event.

RemovableDeviceRemoved

Event that occurs when a Removable Device is removed.

public static event RemovableDeviceEventHandler RemovableDeviceRemoved

Event Type

RemovableDeviceEventHandler

Remarks

The StorageEventManager class raises RemovableDeviceEventArgs events when Removable Devices (typically SD Cards and USB mass storage device) are inserted and removed.

To have a StorageEventManager object call an event-handling method when a RemovableDeviceRemoved event occurs, you must associate the method with a RemovableDeviceEventHandler delegate, and add this delegate to this event.