PlayToConnectionErrorEventArgs PlayToConnectionErrorEventArgs PlayToConnectionErrorEventArgs PlayToConnectionErrorEventArgs Class

Definition

Provides information about the Error event.

public : sealed class PlayToConnectionErrorEventArgs : IPlayToConnectionErrorEventArgs
public sealed class PlayToConnectionErrorEventArgs : IPlayToConnectionErrorEventArgs
Public NotInheritable Class PlayToConnectionErrorEventArgs Implements IPlayToConnectionErrorEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Code 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
var playToConnectionError = playToConnectionErrorEventArgs.code;
Value
PlayToConnectionError PlayToConnectionError PlayToConnectionError PlayToConnectionError

The error code for a Play To connection error.

Remarks

In Windows 8UWP apps, Code is always set to DeviceError.

In Windows 8.1UWP apps, 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 Message

Gets the error message for a Play To connection error.

public : Platform::String Message { get; }
public string Message { get; }
Public ReadOnly Property Message As string
var string = playToConnectionErrorEventArgs.message;
Value
Platform::String string string string

The error message for a Play To connection error.

See Also

See Also