Megosztás a következőn keresztül:


IWindowProvider.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:
 bool WaitForInputIdle(int milliseconds);
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 window has entered the idle state; false if the timeout occurred.

Applies to