Class DispatcherOperation
Inheritance
System.Object
DispatcherOperation
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Threading
Assembly: OpenSilver.dll
Syntax
public sealed class DispatcherOperation
Constructors
| Improve this Doc View SourceDispatcherOperation(Action, DispatcherPriority)
Declaration
public DispatcherOperation(Action action, DispatcherPriority priority)
Parameters
Type | Name | Description |
---|---|---|
System.Action | action | |
DispatcherPriority | priority |
DispatcherOperation(Func<Object>, DispatcherPriority)
Declaration
public DispatcherOperation(Func<object> action, DispatcherPriority priority)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Object> | action | |
DispatcherPriority | priority |
Properties
| Improve this Doc View SourcePriority
Declaration
public DispatcherPriority Priority { get; }
Property Value
Type | Description |
---|---|
DispatcherPriority |
Result
Declaration
public object Result { get; }
Property Value
Type | Description |
---|---|
System.Object |
Status
Declaration
public DispatcherOperationStatus Status { get; }
Property Value
Type | Description |
---|---|
DispatcherOperationStatus |
Methods
| Improve this Doc View SourceAbort()
Declaration
public void Abort()
Invoke()
Declaration
public void Invoke()
Events
| Improve this Doc View SourceAborted
Declaration
public event EventHandler Aborted
Event Type
Type | Description |
---|---|
System.EventHandler |
Completed
Declaration
public event EventHandler Completed
Event Type
Type | Description |
---|---|
System.EventHandler |