DispatcherDisableProcessing Method
Disable the event processing of the dispatcher.
Namespace: Avalonia.ThreadingAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public DispatcherDispatcherProcessingDisabled DisableProcessing()
Public Function DisableProcessing As DispatcherDispatcherProcessingDisabled
member DisableProcessing : unit -> DispatcherDispatcherProcessingDisabled
Return Value
DispatcherDispatcherProcessingDisabled
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.