共用方式為


ESimProfileMetadata.ConfirmInstallAsync 方法

定義

多載

ConfirmInstallAsync()

以非同步方式 (進度) 下載並安裝 eSIM 設定檔。

注意

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

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

ConfirmInstallAsync(String)

以非同步方式 (進度) 下載並安裝提供確認碼的 eSIM 設定檔。

注意

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

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

ConfirmInstallAsync()

以非同步方式 (進度) 下載並安裝 eSIM 設定檔。

注意

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

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

public:
 virtual IAsyncOperationWithProgress<ESimOperationResult ^, ESimProfileInstallProgress> ^ ConfirmInstallAsync() = ConfirmInstallAsync;
/// [Windows.Foundation.Metadata.Overload("ConfirmInstallAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<ESimOperationResult, ESimProfileInstallProgress> ConfirmInstallAsync();
[Windows.Foundation.Metadata.Overload("ConfirmInstallAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<ESimOperationResult,ESimProfileInstallProgress> ConfirmInstallAsync();
function confirmInstallAsync()
Public Function ConfirmInstallAsync () As IAsyncOperationWithProgress(Of ESimOperationResult, ESimProfileInstallProgress)

傳回

屬性

Windows 需求

應用程式功能
Microsoft.eSIMManagement_8wekyb3d8bbwe

備註

具有進度的非同步下載和安裝作業。 成功完成時,會包含 ESimProfileInstallProgress 物件,代表下載和安裝作業的結果。

適用於

ConfirmInstallAsync(String)

以非同步方式 (進度) 下載並安裝提供確認碼的 eSIM 設定檔。

注意

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

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

public:
 virtual IAsyncOperationWithProgress<ESimOperationResult ^, ESimProfileInstallProgress> ^ ConfirmInstallAsync(Platform::String ^ confirmationCode) = ConfirmInstallAsync;
/// [Windows.Foundation.Metadata.Overload("ConfirmInstallWithConfirmationCodeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<ESimOperationResult, ESimProfileInstallProgress> ConfirmInstallAsync(winrt::hstring const& confirmationCode);
[Windows.Foundation.Metadata.Overload("ConfirmInstallWithConfirmationCodeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<ESimOperationResult,ESimProfileInstallProgress> ConfirmInstallAsync(string confirmationCode);
function confirmInstallAsync(confirmationCode)
Public Function ConfirmInstallAsync (confirmationCode As String) As IAsyncOperationWithProgress(Of ESimOperationResult, ESimProfileInstallProgress)

參數

confirmationCode
String

Platform::String

winrt::hstring

正在下載並安裝 eSIM 設定檔的確認碼。

傳回

具有進度的非同步下載和安裝作業。 成功完成時,會包含 ESimProfileInstallProgress 物件,代表下載和安裝作業的結果。

屬性

Windows 需求

應用程式功能
Microsoft.eSIMManagement_8wekyb3d8bbwe

適用於