Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

Requirements Description
Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to


Feedback

Was this page helpful?