CurrentMediaPlaybackItemChangedEventArgs.Reason CurrentMediaPlaybackItemChangedEventArgs.Reason CurrentMediaPlaybackItemChangedEventArgs.Reason CurrentMediaPlaybackItemChangedEventArgs.Reason CurrentMediaPlaybackItemChangedEventArgs.Reason Property

Definition

Gets the reason why the current MediaPlaybackItem in a MediaPlaybackList changed, such as if the previous item completed playback successfully or if there was an error playing back the previous item.

public : MediaPlaybackItemChangedReason Reason { get; }
MediaPlaybackItemChangedReason Reason();
public MediaPlaybackItemChangedReason Reason { get; }
Public ReadOnly Property Reason As MediaPlaybackItemChangedReason
var mediaPlaybackItemChangedReason = currentMediaPlaybackItemChangedEventArgs.reason;

Property Value

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)