PlayToConnectionErrorEventArgs
PlayToConnectionErrorEventArgs
PlayToConnectionErrorEventArgs
PlayToConnectionErrorEventArgs
Class
Definition
public : sealed class PlayToConnectionErrorEventArgs : IPlayToConnectionErrorEventArgspublic sealed class PlayToConnectionErrorEventArgs : IPlayToConnectionErrorEventArgsPublic NotInheritable Class PlayToConnectionErrorEventArgs Implements IPlayToConnectionErrorEventArgs// You can use this class in JavaScript.
- 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// You can use this property in JavaScript.
The error code for a Play To connection error.
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 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// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The error message for a Play To connection error.
- See Also