IUIAutomation2::ConnectionTimeout property

Specifies the length of time that UI Automation will wait for a provider to respond to a client request for an automation element.

This property is read/write.

Syntax


HRESULT put_ConnectionTimeout(
  [in]   DWORD timeout
);

HRESULT get_ConnectionTimeout(
  [out]  DWORD *timeout
);

Property value

The length of time, in milliseconds, for UI Automation to wait for the provider to return an automation element.

Remarks

The default connection timeout value is two seconds. A responsive UI Automation provider can typically return an automation element to a client in a short length of time.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

DLL

UIAutomationCore.dll

See also

IUIAutomation2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.