Leadtools.MediaWriter Namespace > MediaWriterDrive Class : OnDeviceEvent Event |
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
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.
Property | Description |
---|---|
Description | Description string for the related event state. |
State | The current device state for this event. |
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