LEADTOOLS Multimedia (Leadtools.MediaWriter assembly)
LEAD Technologies, Inc

OnDeviceEvent Event






The event delegate for writable drive eject and load events.
Syntax
public event EventHandler<MediaWriterDevNotifyEventArgs> OnDeviceEvent
'Declaration
 
Public Event OnDeviceEvent As EventHandler(Of MediaWriterDevNotifyEventArgs)
'Usage
 
Dim instance As MediaWriterDrive
Dim handler As EventHandler(Of MediaWriterDevNotifyEventArgs)
 
AddHandler instance.OnDeviceEvent, handler
public event EventHandler<MediaWriterDevNotifyEventArgs> OnDeviceEvent
add_OnDeviceEvent(function(sender, e))
remove_OnDeviceEvent(function(sender, e))

public:
event EventHandler<MediaWriterDevNotifyEventArgs^>^ OnDeviceEvent
Event Data

The event handler receives an argument of type MediaWriterDevNotifyEventArgs containing data related to this event. The following MediaWriterDevNotifyEventArgs properties provide information specific to this event.

PropertyDescription
Description Description string for the related event state.
State The current device state for this event.
Remarks
This event is fired for device events on the MediaWriterDrive object. Supported event states are StateEmpty and StateLoaded.
Example
For an example, refer to MediaWriterDrive.BurnDisc example.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MediaWriterDrive Class
MediaWriterDrive Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.MediaWriter requires a Document, Medical or Multimedia toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features