Post Method
Posts an action that will be invoked on the dispatcher thread.
Definition
Namespace: Avalonia.Threading
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
void Post(
Action action,
DispatcherPriority priority = default
)
Sub Post (
action As Action,
Optional priority As DispatcherPriority = Nothing
)
abstract Post :
action : Action *
?priority : DispatcherPriority
(* Defaults:
let _priority = defaultArg priority new DispatcherPriority()
*)
-> unit
Parameters
- Action
- The method.
- DispatcherPriority (Optional)
- The priority with which to invoke the method.