AdaptiveMediaSourceDownloadFailedEventArgs
AdaptiveMediaSourceDownloadFailedEventArgs
AdaptiveMediaSourceDownloadFailedEventArgs
AdaptiveMediaSourceDownloadFailedEventArgs
Class
Definition
Provides data for the DownloadFailed event.
public : sealed class AdaptiveMediaSourceDownloadFailedEventArgs : IAdaptiveMediaSourceDownloadFailedEventArgs, IAdaptiveMediaSourceDownloadFailedEventArgs2public sealed class AdaptiveMediaSourceDownloadFailedEventArgs : IAdaptiveMediaSourceDownloadFailedEventArgs, IAdaptiveMediaSourceDownloadFailedEventArgs2Public NotInheritable Class AdaptiveMediaSourceDownloadFailedEventArgs Implements IAdaptiveMediaSourceDownloadFailedEventArgs, IAdaptiveMediaSourceDownloadFailedEventArgs2// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Obtain an instance of this class by implementing a handler for the DownloadFailed event.
Properties
ExtendedError ExtendedError ExtendedError ExtendedError
Gets the extended error code associate with the event.
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 associate with the event.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
HttpResponseMessage HttpResponseMessage HttpResponseMessage HttpResponseMessage
Gets the http response message, if any, returned from the failed media download request.
public : HttpResponseMessage HttpResponseMessage { get; }public HttpResponseMessage HttpResponseMessage { get; }Public ReadOnly Property HttpResponseMessage As HttpResponseMessage// You can use this property in JavaScript.
The http response message returned from the failed media download request.
Position Position Position Position
Gets a time span representing the position within the timeline of the media segment to which the event applies.
public : IReference<TimeSpan> Position { get; }public Nullable<TimeSpan> Position { get; }Public ReadOnly Property Position As Nullable<TimeSpan>// You can use this property in JavaScript.
- Value
- IReference<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan>
A time span representing the position within the timeline of the media segment to which the event applies.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
Because this event occurs when content is buffering, the position of the event in the timeline may be up to several minutes ahead of the current playback position.
RequestId RequestId RequestId RequestId
Gets a locally-unique identifier for the web request associated with the event.
public : int RequestId { get; }public int RequestId { get; }Public ReadOnly Property RequestId As int// You can use this property in JavaScript.
- Value
- int int int int
A locally-unique identifier for the web request associated with the event.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
This value can be used to correlate the web request associated with this event to other events, including DownloadRequested, DownloadCompleted, and DiagnosticAvailable.
ResourceByteRangeLength ResourceByteRangeLength ResourceByteRangeLength ResourceByteRangeLength
Gets the byte range length of the failed media download request.
public : IReference<ulong> ResourceByteRangeLength { get; }public Nullable<ulong> ResourceByteRangeLength { get; }Public ReadOnly Property ResourceByteRangeLength As Nullable<ulong>// You can use this property in JavaScript.
- Value
- IReference<ulong> Nullable<ulong> Nullable<ulong> Nullable<ulong>
The byte range length of the failed media download request.
ResourceByteRangeOffset ResourceByteRangeOffset ResourceByteRangeOffset ResourceByteRangeOffset
Gets the byte range offset of the failed media download request.
public : IReference<ulong> ResourceByteRangeOffset { get; }public Nullable<ulong> ResourceByteRangeOffset { get; }Public ReadOnly Property ResourceByteRangeOffset As Nullable<ulong>// You can use this property in JavaScript.
- Value
- IReference<ulong> Nullable<ulong> Nullable<ulong> Nullable<ulong>
The byte range offset of the failed media download request.
ResourceType ResourceType ResourceType ResourceType
Gets the resource type of the failed media download request.
public : AdaptiveMediaSourceResourceType ResourceType { get; }public AdaptiveMediaSourceResourceType ResourceType { get; }Public ReadOnly Property ResourceType As AdaptiveMediaSourceResourceType// You can use this property in JavaScript.
- Value
- AdaptiveMediaSourceResourceType AdaptiveMediaSourceResourceType AdaptiveMediaSourceResourceType AdaptiveMediaSourceResourceType
The resource type of the failed media download request.
ResourceUri ResourceUri ResourceUri ResourceUri
Gets the resource URI of the failed media download request.
public : Uri ResourceUri { get; }public Uri ResourceUri { get; }Public ReadOnly Property ResourceUri As Uri// You can use this property in JavaScript.
- Value
- Uri Uri Uri Uri
The resource URI of the failed media download request.
Statistics Statistics Statistics Statistics
Gets an object that provides download statistics associated with the event.
public : AdaptiveMediaSourceDownloadStatistics Statistics { get; }public AdaptiveMediaSourceDownloadStatistics Statistics { get; }Public ReadOnly Property Statistics As AdaptiveMediaSourceDownloadStatistics// You can use this property in JavaScript.
- Value
- AdaptiveMediaSourceDownloadStatistics AdaptiveMediaSourceDownloadStatistics AdaptiveMediaSourceDownloadStatistics AdaptiveMediaSourceDownloadStatistics
An object that provides download statistics associated with the event.
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|