ProvisionFromXmlDocumentResults.ProvisionResultsXml Property
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.
Indicates which elements in the provisioning profile could not be successfully provisioned.
Note
This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.
If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.
public:
property Platform::String ^ ProvisionResultsXml { Platform::String ^ get(); };
winrt::hstring ProvisionResultsXml();
public string ProvisionResultsXml { get; }
var string = provisionFromXmlDocumentResults.provisionResultsXml;
Public ReadOnly Property ProvisionResultsXml As String
Property Value
An instance of ResultsSchema that indicates which elements in the provisioning profile could not be successfully provisioned.
Windows requirements
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
|
Remarks
Calling ProvisionResultsXml when no provisioning file has been submitted will result in an error. When the file was submitted, but not processed due to signature issues, only the Signature element of ResultsSchema will be present. If ProvisionFromXmlDocumentAsync returned an error, ResultsSchema will indicate “Failure” at the file level in the CarrierProvisioningResult element, with the error code specified. If the file was valid, but errors occurred while acting on it, ResultsSchema will coalesce errors, listing the error code at the highest level at which it applies to all sections underneath. If errors are coalesced to a higher level, the lower levels are not included. For example, if all WLAN profiles failed for the same reason, this reason will be shown as an attribute of the WLANProfiles node. If different profiles failed for different reasons, then each profile will be enumerated and indicate success or failure with the error code specified. In cases where multiple adapters are present, a success on any adapter should be represented as success, even if the profile failed to apply to other adapters. If a profile failed to apply to all adapters, ResultsSchema will contain at least one of the error codes, but will not enumerate all errors which occurred on various adapters.