Share via


IMsRdpClientAdvancedSettings::put_OverallConnectionTimeout (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that specifies the total length of time, in seconds, that the ActiveX client control waits for a connection to complete.

Syntax

HRESULT put_overallConnectionTimeout( 
    LONG overallConnectionTimeout
);

Parameters

  • overallConnectionTimeout
    [in] Specifies the time to wait, in seconds.

    The default is 120 seconds.

Return Value

Returns S_OK if successful.

Remarks

If the specified time elapses before a connection completes, the control disconnects and calls the IMsTscAxEvents::OnDisconnected method.

Requirements

Header mstsax.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsRdpClientAdvancedSettings Methods for Connections, Timeouts, Intervals, and Events
IMsRdpClientAdvancedSettings
IMsRdpClientAdvancedSettings::get_OverallConnectionTimeout