Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WindowsFormsSynchronizationContext::Uninstall Method ()

 

Uninstalls the currently installed WindowsFormsSynchronizationContext and replaces it with the previously installed context.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
static void Uninstall()

If the previously installed WindowsFormsSynchronizationContext is null, the current context is set to null.

If the currently installed synchronization context is not a WindowsFormsSynchronizationContext, this method does nothing.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft