共用方式為


SenderUsernameResourceCollection.GetAllAsync(CancellationToken) 方法

定義

列出網域資源的所有有效寄件者使用者名稱。

  • 要求路徑/訂用帳戶/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/senderUsernames
  • 作業IdSenderUsernames_ListByDomains
public virtual Azure.AsyncPageable<Azure.ResourceManager.Communication.SenderUsernameResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Communication.SenderUsernameResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Communication.SenderUsernameResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SenderUsernameResource)

參數

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

SenderUsernameResource 非同步集合,可能需要多個服務要求來逐一查看。

適用於