DeviceServicingDetails Class
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.
Used to provide the DeviceInformation.ID, expected duration, and arguments given by the app that triggered the background servicing task.
public ref class DeviceServicingDetails sealed
/// [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 DeviceServicingDetails final
[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 DeviceServicingDetails
Public NotInheritable Class DeviceServicingDetails
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Properties
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 |
Gets the DeviceInformation.ID of the device the task is targeting. The background task can provide this to the |
ExpectedDuration |
Gets the estimated duration provided by the app when it called RequestAsync on the DeviceServicingTrigger. |