AdaptiveMediaSourceDownloadFailedEventArgs Class

Definition

Provides data for the DownloadFailed event.

public ref class AdaptiveMediaSourceDownloadFailedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AdaptiveMediaSourceDownloadFailedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AdaptiveMediaSourceDownloadFailedEventArgs
Public NotInheritable Class AdaptiveMediaSourceDownloadFailedEventArgs
Inheritance
Object Platform::Object IInspectable AdaptiveMediaSourceDownloadFailedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Obtain an instance of this class by implementing a handler for the DownloadFailed event.

Version history

Windows version SDK version Value added
1703 15063 ExtendedError
1703 15063 Position
1703 15063 RequestId
1703 15063 Statistics
1803 17134 ResourceContentType
1803 17134 ResourceDuration

Properties

ExtendedError

Gets the extended error code associate with the event.

HttpResponseMessage

Gets the http response message, if any, returned from the failed media download request.

Position

Gets a time span representing the position within the timeline of the media segment to which the event applies.

RequestId

Gets a locally-unique identifier for the web request associated with the event.

ResourceByteRangeLength

Gets the byte range length of the failed media download request.

ResourceByteRangeOffset

Gets the byte range offset of the failed media download request.

ResourceContentType

Gets a string representing the content type associated with the event.

ResourceDuration

Gets a TimeSpan representing the duration of the resource associated with the event.

ResourceType

Gets the resource type of the failed media download request.

ResourceUri

Gets the resource URI of the failed media download request.

Statistics

Gets an object that provides download statistics associated with the event.

Applies to