Share via


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:Microsoft.UI.Xaml.Automation.Provider.IWindowProvider.WaitForInputIdle(System.Int32) M:Microsoft.UI.Xaml.Automation.Provider.IWindowProvider.WaitForInputIdle(int)

Applies to