CoreDispatcher.CurrentPriority Property

Definition

Gets and sets the priority of the current task.

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

Property Value

A CoreDispatcherPriority enumeration value that specifies the priority of the current task.

Applies to

See also