Called when a client is in the process of automatically reconnecting a session with a Remote Desktop Session Host (RD Session Host) server. This is an enhanced version of the OnAutoReconnecting method.
void OnAutoReconnecting2( [in] LONG disconnectReason, [in] VARIANT_BOOL networkAvailable, [in] LONG attemptCount, [in] LONG maxAttemptCount );
- disconnectReason [in]
Code that describes the reason for the last session disconnection.
- networkAvailable [in]
Specifies if the network is available.
- attemptCount [in]
Number of attempts that have been made in the current automatic reconnection process. This count increases by one for each attempt made.
- maxAttemptCount [in]
The maximum number of attempts that will be made in the current automatic reconnection process.
This method does not return a value.
Minimum supported client
|Windows 8 [desktop apps only]|
Minimum supported server
|Windows Server 2012 [desktop apps only]|
Build date: 10/15/2013