DeviceServicingDetails DeviceServicingDetails DeviceServicingDetails DeviceServicingDetails DeviceServicingDetails Class

Definition

Used to provide the DeviceInformation.ID, expected duration, and arguments given by the app that triggered the background servicing task.

public : sealed class DeviceServicingDetails : IDeviceServicingDetails
struct winrt::Windows::Devices::Background::DeviceServicingDetails : IDeviceServicingDetails
public sealed class DeviceServicingDetails : IDeviceServicingDetails
Public NotInheritable Class DeviceServicingDetails Implements IDeviceServicingDetails
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Arguments Arguments Arguments Arguments Arguments

Gets the arguments string provided by the app when it called RequestAsync on the DeviceServicingTrigger. This allows the app to easily pass parameters to the task when it invokes it.

DeviceId DeviceId DeviceId DeviceId DeviceId

Gets the DeviceInformation.ID of the device the task is targeting. The background task can provide this to the FromIdAsync method of the appropriate device access class to open the device. For example, call UsbDevice.FromIdAsync in the Windows.Devices.Usb namespace to open a USB device.

ExpectedDuration ExpectedDuration ExpectedDuration ExpectedDuration ExpectedDuration

Gets the estimated duration provided by the app when it called RequestAsync on the DeviceServicingTrigger.

See Also