Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called when the client control attempts to automatically reestablish a connection to a remote session.
Syntax
void OnAutoReconnecting(
[in] long disconnectReason,
[in] long ExtendedDisconnectReason,
[in] BSTR disconnectErrorMessage,
[in] VARIANT_BOOL networkAvailable,
[in] long attemptCount,
[in] long maxAttemptCount
);
Parameters
-
disconnectReason [in]
-
The reason for the disconnect event.
-
ExtendedDisconnectReason [in]
-
Extended information for the disconnect event.
-
disconnectErrorMessage [in]
-
The error message for the disconnect event.
-
networkAvailable [in]
-
Whether the network is available.
-
attemptCount [in]
-
Which attempt this is.
-
maxAttemptCount [in]
-
The maximum number of reconnect attempts will be performed.
Return value
This method does not return a value.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 8 |
| Minimum supported server |
Windows Server 2012 |
| Type library |
|
| DLL |
|
| IID |
DIID_IRemoteDesktopClientEvents is defined as 079863B7-6D47-4105-8BFE-0CDCB360E67D |