MediaSourceError MediaSourceError MediaSourceError MediaSourceError Class

Definition

Represents an error that occurred with a MediaSource.

public : sealed class MediaSourceError : IMediaSourceErrorpublic sealed class MediaSourceError : IMediaSourceErrorPublic NotInheritable Class MediaSourceError Implements IMediaSourceError// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Get an instance of this class by accessing the MediaSourceOpenCompletedEventArgs.Error property.

Properties

ExtendedError ExtendedError ExtendedError ExtendedError

Gets the extended error code for the MediaSourceError.

public : HResult ExtendedError { get; }public Exception ExtendedError { get; }Public ReadOnly Property ExtendedError As Exception// You can use this property in JavaScript.
Value
HResult Exception Exception Exception

The extended error code for the MediaSourceError.