Udostępnij za pośrednictwem


ComboBoxAutomationPeer.WaitForInputIdle(Int32) Method

Definition

Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first.

public:
 virtual bool WaitForInputIdle(int milliseconds) = WaitForInputIdle;
bool WaitForInputIdle(int const& milliseconds);
public bool WaitForInputIdle(int milliseconds);
function waitForInputIdle(milliseconds)
Public Function WaitForInputIdle (milliseconds As Integer) As Boolean

Parameters

milliseconds
Int32

int

The amount of time, in milliseconds, to wait for the associated process to become idle. The maximum is Int32.MaxValue.

Returns

Boolean

bool

true if the window has entered the idle state; false if the time-out occurred.

Implements

M:Windows.UI.Xaml.Automation.Provider.IWindowProvider.WaitForInputIdle(System.Int32) M:Windows.UI.Xaml.Automation.Provider.IWindowProvider.WaitForInputIdle(int)

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to