SnapInBase.RegisterCurrentThreadForUI Method ()

 

Called on a background thread to register it as a candidate for showing pop-up UI.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public void RegisterCurrentThreadForUI()
public:
void RegisterCurrentThreadForUI()
member RegisterCurrentThreadForUI : unit -> unit
Public Sub RegisterCurrentThreadForUI

Remarks

When MMC attempts to close the console or open an Add/Remove dialog, it searches all registered threads for pop-ups, and brings any existing pop-ups into the foreground.

See Also

SnapInBase Class
Microsoft.ManagementConsole Namespace

Return to top