Microsoft.Win32.SystemEvents.InvokeOnEventsThread Method

Invokes the specified delegate using the thread that listens for system events.

Syntax

[System.MonoTODO]
public static void InvokeOnEventsThread (Delegate method)

Parameters

method
A delegate to invoke using the thread that listens for system events.

Remarks

You can use this method any time that you need to handle a system event that is not exposed otherwise by the Microsoft.Win32.SystemEvents class.

When you call this method, the specified delegate will be invoked by the thread that your application is using to process system events.

Requirements

Namespace: Microsoft.Win32
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0