IWindowProvider.WaitForInputIdle Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Function WaitForInputIdle ( _
    milliseconds As Integer _
) As Boolean
bool WaitForInputIdle(
    int milliseconds
)

Parameters

  • milliseconds
    Type: System..::.Int32
    The amount of time, in milliseconds, to wait for the associated process to become idle.

Return Value

Type: System..::.Boolean
true if the window has entered the idle state; false if the timeout occurred.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

IWindowProvider Interface

System.Windows.Automation.Provider Namespace