ESim.DownloadProfileMetadataAsync(String) 方法

定義

以非同步方式下載對應至指定啟用碼之 eSIM 設定檔的安裝中繼資料。

注意

這項功能僅適用于行動電信業者應用程式,以及行動網路操作員提供特殊許可權存取的 UWP 應用程式。

如果您想要使用此 API 並將您的應用程式發佈至 Microsoft Store,則必須要求特殊核准,才能使用自訂功能 Microsoft.eSIMManagement_8wekyb3d8bbwe。 如需詳細資訊,請參閱 自訂功能

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)

參數

activationCode
String

Platform::String

winrt::hstring

要下載之 eSIM 設定檔安裝中繼資料的啟用碼。

傳回

非同步下載作業。 成功完成時,包含代表下載作業結果的 ESimDownloadProfileMetadataResult 物件。

屬性

Windows 需求

應用程式功能
Microsoft.eSIMManagement_8wekyb3d8bbwe

適用於