XamlRenderingBackgroundTask 클래스

정의

백그라운드 작업의 XAML 트리에서 비트맵을 만드는 기능을 제공합니다.

public ref class XamlRenderingBackgroundTask
/// [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 XamlRenderingBackgroundTask
[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 class XamlRenderingBackgroundTask
Public Class XamlRenderingBackgroundTask
상속
Object Platform::Object IInspectable XamlRenderingBackgroundTask
특성

Windows 요구 사항

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

설명

중요

백그라운드 작업의 메모리 공간을 최대한 낮게 유지하려면 Windows Phone C++ Windows 런타임 구성 요소에서 이 작업을 구현해야 합니다. C#으로 작성된 경우 메모리 공간이 더 높아지고 메모리 부족 디바이스에서 메모리 부족 예외가 발생하여 백그라운드 작업이 종료됩니다. 메모리 제약 조건에 대한 자세한 내용은 백그라운드 작업을 사용하여 앱 지원을 참조하세요.

생성자

XamlRenderingBackgroundTask()

XamlRenderingBackgroundTask 클래스의 새 instance 초기화합니다.

메서드

OnRun(IBackgroundTaskInstance)

백그라운드 작업의 작업을 수행합니다. 연결된 백그라운드 작업이 트리거될 때 시스템에서 이 메서드를 호출합니다.

적용 대상