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에서 도입되었습니다.)

설명

WebUIApplication.LeavingBackgroundEventHandler를 구현하여 WebUIApplication.leavingbackground 이벤트에 응답할 때 이 개체에 액세스합니다.

메서드

GetDeferral()

앱이 백그라운드에서 실행을 중지하기 전에 지연을 요청합니다.

적용 대상

추가 정보