DisableProcessing Method
Disable the event processing of the dispatcher.
Definition
Namespace: Avalonia.Threading
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Dispatcher.DispatcherProcessingDisabled DisableProcessing()
Public Function DisableProcessing As Dispatcher.DispatcherProcessingDisabled
member DisableProcessing : unit -> Dispatcher.DispatcherProcessingDisabled
Return Value
Dispatcher.DispatcherProcessingDisabledRemarks
This is an advanced method intended to eliminate the chance of unrelated reentrancy. The effect of disabling processing is: 1) CLR locks will not pump messages internally. 2) No one is allowed to push a frame. 3) No message processing is permitted.