Delen via


ESim.DownloadProfileMetadataAsync(String) Method

Definition

Asynchronously downloads installation metadata for the eSIM profile that corresponds to the specified activation code.

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 to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

public:
 virtual IAsyncOperation<ESimDownloadProfileMetadataResult ^> ^ DownloadProfileMetadataAsync(Platform::String ^ activationCode) = DownloadProfileMetadataAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ESimDownloadProfileMetadataResult> DownloadProfileMetadataAsync(winrt::hstring const& activationCode);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ESimDownloadProfileMetadataResult> DownloadProfileMetadataAsync(string activationCode);
function downloadProfileMetadataAsync(activationCode)
Public Function DownloadProfileMetadataAsync (activationCode As String) As IAsyncOperation(Of ESimDownloadProfileMetadataResult)

Parameters

activationCode
String

Platform::String

winrt::hstring

The activation code for the eSIM profile installation metadata to download.

Returns

An asynchronous download operation. On successful completion, contains an ESimDownloadProfileMetadataResult object representing the result of the download operation.

Attributes

Windows requirements

App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to