WindowsFormsSynchronizationContext.Uninstall Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: