Skip to main content

Post(Action, DispatcherPriority) Method

Posts an action that will be invoked on the dispatcher thread.

Definition​

Namespace: Avalonia.Threading
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void Post(
Action action,
DispatcherPriority priority = default
)

Parameters​

  Action
The method.
  DispatcherPriority  (Optional)
The priority with which to invoke the method.

Implements​

IDispatcher.Post(Action, DispatcherPriority)

See Also​

Reference​

Dispatcher Class
Post Overload
Avalonia.Threading Namespace