CastingConnectionErrorStatus Enum

Definition

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

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.

InvalidCastingSource 5

The casting source was invalid.

ProtectedPlaybackFailed 4

The device could not provide protected playback.

Succeeded 0

Starting or ending the connection was successful.

Unknown 6

An unknown error occurred when attempting to start or end the connection.

Applies to