Skip to main content

DispatcherOperation<T> Class

Definition

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

public class DispatcherOperation<T> : DispatcherOperation

View Source
InheritanceObjectDispatcherOperation → DispatcherOperation(T)

Type Parameters

Constructors

DispatcherOperation(T)(Dispatcher, DispatcherPriority, Func(T))Initializes a new instance of the DispatcherOperation(T) class

Properties

Dispatcher
(Inherited from DispatcherOperation)
Priority
(Inherited from DispatcherOperation)
Result 
Status
(Inherited from DispatcherOperation)

Methods

Abort()
(Inherited from DispatcherOperation)
AbortTask()
(Overrides DispatcherOperation.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)
GetAwaiter() 
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetTask() 
GetTaskCore()
(Overrides DispatcherOperation.GetTaskCore())
GetType()Gets the Type of the current instance.
(Inherited from Object)
InvokeCore()
(Overrides DispatcherOperation.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.
(Inherited from DispatcherOperation)
Wait(TimeSpan)Waits for this operation to complete.
(Inherited from DispatcherOperation)

Events

AbortedAn event that is raised when the operation is aborted or canceled.
(Inherited from DispatcherOperation)
CompletedAn event that is raised when the operation completes.
(Inherited from DispatcherOperation)

Fields

Callback
(Inherited from DispatcherOperation)
TaskSource
(Inherited from DispatcherOperation)
ThrowOnUiThread
(Inherited from DispatcherOperation)

See Also

Reference

Avalonia.Threading Namespace