←Select platform

OnDeviceEvent Event

Summary

The event delegate for writable drive eject and load events.

Syntax

C#
VB
C++
public event EventHandler<MediaWriterDevNotifyEventArgs> OnDeviceEvent 
Public Event OnDeviceEvent As EventHandler(Of MediaWriterDevNotifyEventArgs) 
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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaWriter Assembly