CurrentMediaPlaybackItemChangedEventArgs.Reason Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
property MediaPlaybackItemChangedReason Reason { MediaPlaybackItemChangedReason get(); };
MediaPlaybackItemChangedReason Reason();
public MediaPlaybackItemChangedReason Reason { get; }
var mediaPlaybackItemChangedReason = currentMediaPlaybackItemChangedEventArgs.reason;
Public ReadOnly Property Reason As MediaPlaybackItemChangedReason
Property Value
The reason why the current MediaPlaybackItem in a MediaPlaybackList changed.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|