语言

DispatcherPriorityAwaitable 结构

定义

表示一个可等待的对象,该对象以异步方式将控制权生成回当前调度程序,并为调度程序处理其他事件提供了机会。

public value class DispatcherPriorityAwaitable
public struct DispatcherPriorityAwaitable
type DispatcherPriorityAwaitable = struct
Public Structure DispatcherPriorityAwaitable
继承
DispatcherPriorityAwaitable

注解

Dispatcher.Yield 方法返回 DispatcherPriorityAwaitable。

方法

名称 说明
GetAwaiter()

返回等待异步任务完成的对象。

适用于