Skip to main content

IDispatcher Interface

Dispatches jobs to a thread.

Definition​

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

public interface IDispatcher
View Source

Methods​

CheckAccess()Determines whether the calling thread is the thread associated with this IDispatcher.
Post(Action, DispatcherPriority)Posts an action that will be invoked on the dispatcher thread.
VerifyAccess()Throws an exception if the calling thread is not the thread associated with this IDispatcher.

See Also​

Reference​

Avalonia.Threading Namespace