RemoteSystemSessionDisconnectedReason 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.
Contains values that describe the reason that a device may be disconnected from a remote session.
public enum class RemoteSystemSessionDisconnectedReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class RemoteSystemSessionDisconnectedReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum RemoteSystemSessionDisconnectedReason
var value = Windows.System.RemoteSystems.RemoteSystemSessionDisconnectedReason.sessionUnavailable
Public Enum RemoteSystemSessionDisconnectedReason
- Inheritance
-
RemoteSystemSessionDisconnectedReason
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
App capabilities |
remoteSystem
|
Fields
Name | Value | Description |
---|---|---|
SessionUnavailable | 0 | The connection to the remote session was lost. |
RemovedByController | 1 | The device controlling the remote session removed this device as a participant. |
SessionClosed | 2 | The device controlling the remote session ended the session. |