Skip to main content

AvaloniaSynchronizationContext Methods

Methods

CreateCopy()When overridden in a derived class, creates a copy of the synchronization context.
(Inherited from SynchronizationContext)
Ensure(DispatcherPriority) 
Ensure(Dispatcher, DispatcherPriority) 
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
InstallIfNeeded()Installs synchronization context in current thread
IsWaitNotificationRequired()Determines if wait notification is required.
(Inherited from SynchronizationContext)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
OperationCompleted()When overridden in a derived class, responds to the notification that an operation has completed.
(Inherited from SynchronizationContext)
OperationStarted()When overridden in a derived class, responds to the notification that an operation has started.
(Inherited from SynchronizationContext)
Post(SendOrPostCallback, Object)When overridden in a derived class, dispatches an asynchronous message to a synchronization context.
(Overrides SynchronizationContext.Post(SendOrPostCallback, Object))
Send(SendOrPostCallback, Object)When overridden in a derived class, dispatches a synchronous message to a synchronization context.
(Overrides SynchronizationContext.Send(SendOrPostCallback, Object))
SetWaitNotificationRequired()Sets notification that wait notification is required and prepares the callback method so it can be called more reliably when a wait occurs.
(Inherited from SynchronizationContext)
ToString()Returns a string that represents the current object.
(Inherited from Object)
Wait(IntPtr[], Boolean, Int32)
(Overrides SynchronizationContext.Wait(IntPtr[], Boolean, Int32))

See Also

Reference

AvaloniaSynchronizationContext Class
Avalonia.Threading Namespace