DispatcherProcessingDisabled.Dispose Method ()

 

Re-enables dispatcher processing.

Namespace:   System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

public void Dispose()

Disabling dispatcher processing is an advanced method that is intended to eliminate the chance of unrelated reentrancy.

The effects of disabling processing are as follows:

  • CLR locks will not pump messages internally.

  • DispatcherFrame objects are not allowed to be pushed.

  • Message processing is not permitted.

.NET Framework
Available since 3.0
Return to top
Show: