CoreDispatcher.ShouldYield 메서드

정의

오버로드

ShouldYield()

현재 작업보다 우선 순위가 높은 작업 큐에 항목이 있는 경우 호출자가 생성해야 하는지 여부를 쿼리합니다.

ShouldYield(CoreDispatcherPriority)

지정된 우선 순위 이상의 작업 큐에 항목이 있는 경우 호출자가 생성해야 하는지 여부를 쿼리합니다.

ShouldYield()

현재 작업보다 우선 순위가 높은 작업 큐에 항목이 있는 경우 호출자가 생성해야 하는지 여부를 쿼리합니다.

public:
 virtual bool ShouldYield() = ShouldYield;
/// [Windows.Foundation.Metadata.Overload("ShouldYield")]
bool ShouldYield();
[Windows.Foundation.Metadata.Overload("ShouldYield")]
public bool ShouldYield();
function shouldYield()
Public Function ShouldYield () As Boolean

반환

Boolean

bool

현재 작업 항목이 더 높은 우선 순위 작업으로 산출되어야 하는 경우 true입니다. false 이면 안 됩니다.

특성

추가 정보

적용 대상

ShouldYield(CoreDispatcherPriority)

지정된 우선 순위 이상의 작업 큐에 항목이 있는 경우 호출자가 생성해야 하는지 여부를 쿼리합니다.

public:
 virtual bool ShouldYield(CoreDispatcherPriority priority) = ShouldYield;
/// [Windows.Foundation.Metadata.Overload("ShouldYieldToPriority")]
bool ShouldYield(CoreDispatcherPriority const& priority);
[Windows.Foundation.Metadata.Overload("ShouldYieldToPriority")]
public bool ShouldYield(CoreDispatcherPriority priority);
function shouldYield(priority)
Public Function ShouldYield (priority As CoreDispatcherPriority) As Boolean

매개 변수

priority
CoreDispatcherPriority

현재 작업 항목이 생성해야 하는 최소 우선 순위 수준입니다.

반환

Boolean

bool

현재 작업 항목이 더 높은 우선 순위 작업으로 산출되어야 하는 경우 true입니다. false 이면 안 됩니다.

특성

추가 정보

적용 대상