DispatcherOperationStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the possible values for the status of a DispatcherOperation.
public enum class DispatcherOperationStatus
public enum DispatcherOperationStatus
type DispatcherOperationStatus =
Public Enum DispatcherOperationStatus
- Inheritance
Fields
Aborted | 1 | The operation has aborted. |
Completed | 2 | The operation is completed. |
Executing | 3 | The operation started executing, but has not completed. |
Pending | 0 | The operation is pending and is still in the Dispatcher queue. |
Remarks
A DispatcherOperation is returned after a call to BeginInvoke. The DispatcherOperation can be used to interact with the delegate on the Dispatcher queue, such as changing the priority of the operation or aborting the operation.
The stages of a DispatcherOperation are Pending, Executing, and Completed. At any point before the operation completes, the status can be set to Aborted.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈