RemoteSystemSessionDisconnectedEventArgs.Reason Property

Definition

Gets the reason this device was disconnected from the session.

public:
 property RemoteSystemSessionDisconnectedReason Reason { RemoteSystemSessionDisconnectedReason get(); };
RemoteSystemSessionDisconnectedReason Reason();
public RemoteSystemSessionDisconnectedReason Reason { get; }
var remoteSystemSessionDisconnectedReason = remoteSystemSessionDisconnectedEventArgs.reason;
Public ReadOnly Property Reason As RemoteSystemSessionDisconnectedReason

Property Value

The RemoteSystemSessionDisconnectedReason value representing the reason for disconnection.

Windows requirements

App capabilities
remoteSystem

Applies to