Share via


RemoteDesktopConnectionStatus Enum

Definition

Specifies the connection status of a remote desktop connection.

Important

The RemoteDesktopConnectionStatus API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.

public enum class RemoteDesktopConnectionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
enum class RemoteDesktopConnectionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
public enum RemoteDesktopConnectionStatus
var value = Windows.System.RemoteDesktop.Provider.RemoteDesktopConnectionStatus.connecting
Public Enum RemoteDesktopConnectionStatus
Inheritance
RemoteDesktopConnectionStatus
Attributes

Windows requirements

Requirements Description
Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Fields

Name Value Description
Connecting 0

The connection is in the process of connecting.

Connected 1

The connection is active.

UserInputNeeded 2

User input is needed to complete the connection.

Disconnected 3

The connection is disconnected.

Remarks

Remote desktop providers inform the OS of the current status of a remote desktop connection by calling SetConnectionStatus).

Applies to