-api-id | -api-type |
---|---|
P:Windows.Media.PlayTo.PlayToConnectionErrorEventArgs.Code |
winrt property |
Gets the error code for a Play To connection error.
The error code for a Play To connection error.
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.
PlayToConnection.Error event, Play To sample, PlayToReceiver sample, Media Server sample