Compartilhar via


EmailServiceResourceCollection.Get(String, CancellationToken) Método

Definição

Obtenha o EmailService e suas propriedades.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}
  • Operação IdEmailServices_Get
public virtual Azure.Response<Azure.ResourceManager.Communication.EmailServiceResource> Get (string emailServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.EmailServiceResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.EmailServiceResource>
Public Overridable Function Get (emailServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EmailServiceResource)

Parâmetros

emailServiceName
String

O nome do recurso EmailService.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

emailServiceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

emailServiceName é nulo.

Aplica-se a