LeavingBackgroundEventArgs 클래스

정의

앱이 백그라운드 상태를 벗어나는 경우 지연 개체를 가져옵니다.

public ref class LeavingBackgroundEventArgs sealed : ILeavingBackgroundEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LeavingBackgroundEventArgs final : ILeavingBackgroundEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LeavingBackgroundEventArgs : ILeavingBackgroundEventArgs
Public NotInheritable Class LeavingBackgroundEventArgs
Implements ILeavingBackgroundEventArgs
상속
Object Platform::Object IInspectable LeavingBackgroundEventArgs
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)

설명

이 개체는 앱의 나가는 백그라운드 이벤트 처리기에 전달됩니다.

이 이벤트는 UI가 표시되기 전에 발생하며 프로그래밍 방식으로 로드하는 모든 자산이 준비되어 UI가 올바르게 표시되도록 하는 데 적합합니다.

메서드

GetDeferral()

앱이 Deferral.Complete 를 호출하거나 탐색 최종 기한이 지날 때까지 백그라운드에서 실행에서 포그라운드 실행으로 전환을 지연시키는 지연 개체를 가져옵니다.

적용 대상

추가 정보