ComponentDispatcher.ThreadIdle Event

Definition

Occurs when the thread is idle.

public:
 static event EventHandler ^ ThreadIdle;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public static event EventHandler ThreadIdle;
public static event EventHandler ThreadIdle;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.ThreadIdle : EventHandler 
member this.ThreadIdle : EventHandler 
Public Shared Custom Event ThreadIdle As EventHandler 

Event Type

Attributes

Remarks

If there are no messages in the queue, then the idle state announced by the ThreadIdle event is an efficient time to do processing.

Applies to

See also