Table of Contents

Class DVDEventArgs

Namespace
VisioForge.Core.Types.Events
Assembly
VisioForge.Core.dll

Provides data for DVD-related events.

public class DVDEventArgs : EventArgs

Inheritance

Inherited Members

Examples

player.OnDVDEvent += (sender, e) =>
{
    if (e.Message.Contains("Region"))
    {
        MessageBox.Show($"DVD Region Error: {e.Message}");
    }
    else
    {
        LogDVDEvent(e.Message);
    }
};

Remarks

This event arguments class is used for various DVD playback events including errors, warnings, and informational messages.

The message property contains detailed information about the specific DVD event that occurred.

Common scenarios include region code mismatches, navigation errors, or DVD structure issues.

Constructors

DVDEventArgs(string)

Initializes a new instance of the VisioForge.Core.Types.Events.DVDEventArgs class.

public DVDEventArgs(string message)

Parameters

message string

The message text describing the DVD event.

Remarks

This constructor is typically called internally by the DVD player when DVD-related events occur. The message should provide meaningful information about the event for logging or user notification.

Exceptions

ArgumentNullException

Thrown when the message parameter is null.

Properties

Message

Gets the message describing the DVD event.

public string Message { get; }

Property Value

string

Remarks

The message content varies depending on the type of DVD event:

  • Error messages for navigation failures or disc read errors
  • Region code mismatch notifications
  • Copyright protection warnings
  • DVD structure or format issues

See Also