PlayToConnectionErrorEventArgs PlayToConnectionErrorEventArgs PlayToConnectionErrorEventArgs Class

Definition

Provides information about the Error event.

public sealed class PlayToConnectionErrorEventArgs : IPlayToConnectionErrorEventArgspublic sealed class PlayToConnectionErrorEventArgs : IPlayToConnectionErrorEventArgsPublic NotInheritable Class PlayToConnectionErrorEventArgs Implements IPlayToConnectionErrorEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Code Code Code

Gets the error code for a Play To connection error.

public PlayToConnectionError Code { get; }public PlayToConnectionError Code { get; }Public ReadOnly Property Code As PlayToConnectionError
Value
PlayToConnectionError PlayToConnectionError PlayToConnectionError

The error code for a Play To connection error.

Attributes

Remarks

In Windows 8Windows Store app, Code is always set to DeviceError.

In Windows 8.1Windows Store app, Code is set to either DeviceError or ProtectedPlaybackFailed. This enables the app to determine if the failure is related to the media-protection status of the content. The app can continue playing the next item in the playlist or to stop. Apps can also use this new Code value to remove all protected music from the playlist.

See Also

Message Message Message

Gets the error message for a Play To connection error.

public string Message { get; }public string Message { get; }Public ReadOnly Property Message As string
Value
string string string

The error message for a Play To connection error.

Attributes
See Also

See Also