Share via


RemoteDesktopClient.Reconnect method

[Reconnect is no longer available for use as of Windows 10 and Windows Server 2016 Technical Preview.]

Initiates an automatic reconnection of the Remote Desktop Protocol (RDP) app container client control to fit the session to the new width and height.

Syntax

remoteDesktopClient.reconnect(width, height);

Parameters

  • width
    Type: Number

    The new width, in pixels.

  • height
    Type: Number

    The new height, in pixels.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

End of client support

Windows 8.1

End of server support

Windows Server 2012 R2

IDL

RdpAppContainerClient.idl

Type library

MsTscAx.dll

DLL

MsTscAx.dll

See also

RemoteDesktopClient