ESim.DeleteProfileAsync(String) 方法

定義

以非同步方式刪除指定的 eSIM 設定檔。

注意

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

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

public:
 virtual IAsyncOperation<ESimOperationResult ^> ^ DeleteProfileAsync(Platform::String ^ profileId) = DeleteProfileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ESimOperationResult> DeleteProfileAsync(winrt::hstring const& profileId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ESimOperationResult> DeleteProfileAsync(string profileId);
function deleteProfileAsync(profileId)
Public Function DeleteProfileAsync (profileId As String) As IAsyncOperation(Of ESimOperationResult)

參數

profileId
String

Platform::String

winrt::hstring

要刪除之 eSIM 設定檔的識別碼 () 的 ICCID。

傳回

非同步刪除作業。 成功完成時,包含代表刪除作業結果的 ESimOperationResult 物件。

屬性

Windows 需求

應用程式功能
Microsoft.eSIMManagement_8wekyb3d8bbwe

適用於