Skip to main content

DispatcherOperation Class

Definition

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

public class DispatcherOperation
View Source
InheritanceObject → DispatcherOperation
DerivedAvalonia.Threading.DispatcherOperation(T)

Properties

Dispatcher 
Priority 
Status 

Methods

Abort() 
AbortTask() 
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)
GetTask() 
GetTaskCore() 
GetType()Gets the Type of the current instance.
(Inherited from Object)
InvokeCore() 
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)
Wait()Waits for this operation to complete.
Wait(TimeSpan)Waits for this operation to complete.

Events

AbortedAn event that is raised when the operation is aborted or canceled.
CompletedAn event that is raised when the operation completes.

Fields

Callback 
TaskSource 
ThrowOnUiThread 

See Also

Reference

Avalonia.Threading Namespace