-api-id | -api-type |
---|---|
M:Windows.Management.Deployment.PackageManagerDebugSettings.SetContentGroupStateAsync(Windows.ApplicationModel.Package,System.String,Windows.ApplicationModel.PackageContentGroupState,System.Double) |
winrt method |
Sets the staging state of a content group for debugging.
The app Package.
The content group name. An AppxContentGroupMap.xml must be present when the app is registered for this API to work.
The PackageContentGroupState enum value.
The simulated percent install completion. A value between 0 and 100.0. A value greater than 100 is clamped to 100.
Returns an IAsyncAction that completes when the state has changed.
The state of the required content group (which is specified by PackageContentGroup.RequiredGroupName) cannot be changed. The method will fail if this group is specified.