CastingConnectionErrorStatus Enum
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.
Indicates the error status when starting or ending a casting connection.
public enum class CastingConnectionErrorStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CastingConnectionErrorStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CastingConnectionErrorStatus
var value = Windows.Media.Casting.CastingConnectionErrorStatus.succeeded
Public Enum CastingConnectionErrorStatus
- Inheritance
-
CastingConnectionErrorStatus
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Succeeded | 0 | Starting or ending the connection was successful. |
DeviceDidNotRespond | 1 | The device did not respond to the attempt to start or end theconnection. |
DeviceError | 2 | The device returned an error when attempting to start or end the connection. |
DeviceLocked | 3 | The device was locked and a start or end the connection could not be made. |
ProtectedPlaybackFailed | 4 | The device could not provide protected playback. |
InvalidCastingSource | 5 | The casting source was invalid. |
Unknown | 6 | An unknown error occurred when attempting to start or end the connection. |