WindowsFormsSynchronizationContext.Uninstall Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Uninstalls the currently installed WindowsFormsSynchronizationContext and replaces it with the previously installed context.
public:
static void Uninstall();
public static void Uninstall ();
static member Uninstall : unit -> unit
Public Shared Sub Uninstall ()
Remarks
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.