NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Application Idle Event

Occurs when the application has finished processing and is about to enter the idle state.

The following declaration shows the syntax for a method that handles the Idle event.

[Visual Basic]
Private Sub ApplicationName_Idle( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
private void ApplicationName_Idle(
   object sender,
   EventArgs e
);
[C++]
private: void ApplicationName_Idle(
   Object* sender,
   EventArgs* e
);
[JScript]
private ApplicationName_Idle(
   sender : Object,
   e : EventArgs
);

Parameters

sender
The source of the event.
e
An EventArgs that contains the event data. The following EventArgs properties provide information specific to this event.
Property Description
ExtendedInfo
Holds a reference to an object that manages the event's state.

Remarks

If you have any tasks that you need to perform before the thread becomes idle, you should attach them to this event.

See Also

Application Class | Application MembersTopic | System.WinForms Namespace