Jaa


AppBarAutomationPeer.WaitForInputIdle(Int32) Method

Definition

Blocks the calling code 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.

Returns

Boolean

bool

true if the app bar has entered the idle state; false if the timeout 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