Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

App lifecycle, background tasks, and system services

Feedback

In this article

This article provides an index of development features that are related to scenarios involving managing the lifecycle of Windows apps and using system-level services provided by the Windows OS.

Windows App SDK features

TheWindows App SDK provides the following features related to app lifecycle and system services for Windows 10 and later OS releases.

Important

If you're working on a UWP app, then refer toMigrate from UWP to the Windows App SDK.

FeatureDescription
App lifecycleGet an overview of managing the lifecycle of your app.
App instancingControl whether multiple instances of your app's process can run at the same time.
Background tasksBackground tasks are app components that run in the background without a user interface. They can perform actions such as downloading files, syncing data, sending notifications, or updating tiles.
Rich activationReceive information about different kinds activations for your app.
Power managementGet visibility into how your app affects the device's power state, and enable your app to make intelligent decisions about resource usage.
RestartProgrammatically restart your application and set restart options after app termination.

Windows OS features

Windows 10 and later OS releases provide a wide variety of APIs related to app lifecycle and system services for apps. These features are available via a combination of WinRT and Win32 (C++ and COM) APIs provided by theWindows SDK.

WinRT APIs

The following articles provide information about features available via WinRT APIs provided by the Windows SDK.

ArticleDescription
Use app services and extensionsLearn how to integrate app services into your Windows app to allow the sharing of data and functionality across apps.
Support your app with background tasksLearn how make lightweight code run in the background in response to triggers.
Launch an app through file activationLearn how to set up your app to launch when a file of a certain type is opened.
Launch an app with a URILearn how to use a Uniform Resource Identifier (URI) to launch one app from another app, enabling helpful app-to-app scenarios.
Threading and async programmingLearn how to use the thread pool to accomplish work asynchronously in parallel threads.

Win32 (C++ and COM) APIs

The following articles provide information about features available via Win32 (C++ and COM) APIs provided by the Windows SDK.

ArticleDescription
System servicesLearn about system services available to apps, including COM, Windows messaging, service applications, and much more.
Memory managementLearn how to use virtual memory, memory mapped files, copy-on-write memory, large memory support, and other memory related features in your app.
Processes and threadsLearn how to control processes, threads, jobs, and other units of code execution in your app.
Windows system informationLearn how to access system information including the registry, handles and objects, and more.

.NET features

The .NET SDK also provides APIs related to system services for WPF and Windows Forms apps.

ArticleDescription
Threading model (WPF)Learn about the threading model of WPF apps.
System informationLearn how to access system information in Windows Forms apps.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?