IBackgroundTaskInstance2.GetThrottleCount 메서드

정의

너무 많은 리소스를 사용하기 위해 백그라운드 작업이 일시 중단된 횟수를 검색합니다.

public:
 unsigned int GetThrottleCount(BackgroundTaskThrottleCounter counter);
uint32_t GetThrottleCount(BackgroundTaskThrottleCounter const& counter);
public uint GetThrottleCount(BackgroundTaskThrottleCounter counter);
function getThrottleCount(counter)
Public Function GetThrottleCount (counter As BackgroundTaskThrottleCounter) As UInteger

매개 변수

counter
BackgroundTaskThrottleCounter

스로틀 수에 포함할 리소스 유형(네트워크, CPU 또는 둘 다)을 나타냅니다.

반환

UInt32

unsigned int

uint32_t

이 메서드는 지정된 리소스 유형의 할당량을 초과하여 백그라운드 작업이 일시 중단된 횟수를 반환합니다.

적용 대상