DispatcherPriorityAwaiter Struct
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.
Represents an object that waits for the completion of an asynchronous task.
public value class DispatcherPriorityAwaiter : System::Runtime::CompilerServices::INotifyCompletion
public struct DispatcherPriorityAwaiter : System.Runtime.CompilerServices.INotifyCompletion
type DispatcherPriorityAwaiter = struct
interface INotifyCompletion
Public Structure DispatcherPriorityAwaiter
Implements INotifyCompletion
- Inheritance
- Implements
Properties
IsCompleted |
Gets a value that indicates whether the asynchronous task has completed. |
Methods
GetResult() |
Ends the wait for the completion of the asynchronous task. |
OnCompleted(Action) |
Sets the action to perform when the DispatcherPriorityAwaiter object stops waiting for the asynchronous task to complete. |
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk