CoreDispatcher.CurrentPriority 属性

定义

获取并设置当前任务的优先级。

public:
 property CoreDispatcherPriority CurrentPriority { CoreDispatcherPriority get(); void set(CoreDispatcherPriority value); };
CoreDispatcherPriority CurrentPriority();

void CurrentPriority(CoreDispatcherPriority value);
public CoreDispatcherPriority CurrentPriority { get; set; }
var coreDispatcherPriority = coreDispatcher.currentPriority;
coreDispatcher.currentPriority = coreDispatcherPriority;
Public Property CurrentPriority As CoreDispatcherPriority

属性值

一个 CoreDispatcherPriority 枚举值,该值指定当前任务的优先级。

适用于

另请参阅