IMsTscAxEvents::OnAutoReconnecting2 method

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.

Syntax


void OnAutoReconnecting2(
  [in]  LONG disconnectReason,
  [in]  VARIANT_BOOL networkAvailable,
  [in]  LONG attemptCount,
  [in]  LONG maxAttemptCount
);

Parameters

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.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Type library

Mstscax.dll

DLL

Mstscax.dll

See also

IMsTscAxEvents

 

 

Show:
© 2014 Microsoft