共用方式為


SenderUsernameResource.DeleteAsync(WaitUntil, CancellationToken) 方法

定義

刪除 SenderUsernames 資源的作業。

  • 要求路徑/訂用帳戶/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames/{senderUsername}
  • 作業IdSenderUsernames_Delete
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> DeleteAsync (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.DeleteAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function DeleteAsync (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

參數

waitUntil
WaitUntil

Completed 如果 方法應該等候傳回,直到服務上長時間執行的作業完成為止; Started 如果它應該在啟動作業之後傳回,則為 。 如需長時間執行作業的詳細資訊,請參閱 Azure.Core Long-Running作業範例

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

適用於