ExtendedExecutionSession 클래스

정의

백그라운드 실행에 대한 요청 관리를 지원합니다. 확장 실행을 사용하는 방법에 대한 자세한 내용은 확장 실행을 최소화한 상태에서 실행을 참조하세요.

public ref class ExtendedExecutionSession sealed : IClosable
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ExtendedExecutionSession final : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class ExtendedExecutionSession final : IClosable
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ExtendedExecutionSession : System.IDisposable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ExtendedExecutionSession : System.IDisposable
function ExtendedExecutionSession()
Public NotInheritable Class ExtendedExecutionSession
Implements IDisposable
상속
Object Platform::Object IInspectable ExtendedExecutionSession
특성
구현

Windows 요구 사항

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

설명

백그라운드 실행을 수행하는 데 사용할 수 있는 시간은 몇 분 정도이지만 언제든지 해지되는 세션을 처리할 준비가 되어 있어야 합니다.

생성자

ExtendedExecutionSession()

ExtendedExecutionSession 개체를 만듭니다.

속성

Description

이 속성은 현재 릴리스에서 사용되지 않습니다.

PercentProgress

이 속성은 현재 릴리스에서 사용되지 않습니다.

Reason

백그라운드 실행 요청에 대한 이유를 가져오거나 설정합니다.

메서드

Close()

세션을 닫고 백그라운드에서 실행할 애플리케이션의 기능을 제거합니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

RequestExtensionAsync()

백그라운드 실행을 요청합니다.

이벤트

Revoked

Revoked 이벤트는 시스템이 백그라운드 실행을 취소할 때 발생합니다.

적용 대상

추가 정보