Provision​From​Xml​Document​Results Provision​From​Xml​Document​Results Provision​From​Xml​Document​Results Provision​From​Xml​Document​Results Class

Definition

The results object returned to the application when the provisioning operation has completed.

Note

This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : sealed class ProvisionFromXmlDocumentResults : IProvisionFromXmlDocumentResultspublic sealed class ProvisionFromXmlDocumentResults : IProvisionFromXmlDocumentResultsPublic NotInheritable Class ProvisionFromXmlDocumentResults Implements IProvisionFromXmlDocumentResults// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

AllElementsProvisioned AllElementsProvisioned AllElementsProvisioned AllElementsProvisioned

Determines whether all elements specified in the provisioning XML were applied.

Note

This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : PlatForm::Boolean AllElementsProvisioned { get; }public bool AllElementsProvisioned { get; }Public ReadOnly Property AllElementsProvisioned As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if all elements specified in the provisioning XML could be applied; otherwise false.

ProvisionResultsXml ProvisionResultsXml ProvisionResultsXml ProvisionResultsXml

Indicates which elements in the provisioning profile could not be successfully provisioned.

Note

This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : PlatForm::String ProvisionResultsXml { get; }public string ProvisionResultsXml { get; }Public ReadOnly Property ProvisionResultsXml As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

An instance of ResultsSchema that indicates which elements in the provisioning profile could not be successfully provisioned.

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.