WindowsFormsSynchronizationContext.Uninstall Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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)

static member Uninstall : unit -> unit

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