IDispatcherPost Method
Posts an action that will be invoked on the dispatcher thread.
Namespace: Avalonia.ThreadingAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
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 Action
- The method.
- priority DispatcherPriority (Optional)
- The priority with which to invoke the method.