IBackgroundTask Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a method to perform the work of a background task.
public interface class IBackgroundTask
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2098451764, 64786, 17358, 140, 34, 234, 31, 241, 60, 6, 223)]
struct IBackgroundTask
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2098451764, 64786, 17358, 140, 34, 234, 31, 241, 60, 6, 223)]
public interface IBackgroundTask
Public Interface IBackgroundTask
- Derived
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Methods
Run(IBackgroundTaskInstance) |
Performs the work of a background task. The system calls this method when the associated background task has been triggered. |