Export (0) Print
Expand All

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 nullptr, the current context is set to nullptr.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft