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