Freigeben über


ESim.DeleteProfileAsync(String) Methode

Definition

Löscht das angegebene eSIM-Profil asynchron.

Hinweis

Diese Funktionalität ist nur für Apps von Mobilfunkanbietern und UWP-Apps verfügbar, die privilegierten Zugriff von Mobilfunknetzbetreibern erhalten.

Wenn Sie diese API verwenden und Ihre App im Microsoft Store veröffentlichen möchten, müssen Sie eine spezielle Genehmigung anfordern, um die benutzerdefinierte Funktion Microsoft.eSIMManagement_8wekyb3d8bbwe verwenden zu können. Weitere Informationen finden Sie unter Benutzerdefinierte Funktionen.

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)

Parameter

profileId
String

Platform::String

winrt::hstring

Die Identifikationsnummer (eine ICCID) des zu löschenden eSIM-Profils.

Gibt zurück

Ein asynchroner Löschvorgang. Enthält nach erfolgreicher Fertigstellung ein ESimOperationResult-Objekt , das das Ergebnis des Löschvorgangs darstellt.

Attribute

Windows-Anforderungen

App-Funktionen
Microsoft.eSIMManagement_8wekyb3d8bbwe

Gilt für: