IUIAutomation2::p ut_ConnectionTimeout メソッド (uiautomationclient.h)

プロバイダーがオートメーション要素のクライアント要求に応答するまでUI オートメーション待機する時間の長さを指定します。

このプロパティは読み取り/書き込み可能です。

構文

HRESULT put_ConnectionTimeout(
  [in] DWORD timeout
);

パラメーター

[in] timeout

型: DWORD

タイムアウト期間の期間 (ミリ秒単位)。

戻り値

なし

解説

既定の接続タイムアウト値は 2 秒です。 応答性の高いUI オートメーション プロバイダーは、通常、短時間でオートメーション要素をクライアントに返すことができます。

要件

要件
サポートされている最小のクライアント Windows 8 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー uiautomationclient.h (UIAutomation.h を含む)
[DLL] UIAutomationCore.dll

こちらもご覧ください

IUIAutomation2