Freigeben über


CommunicationServiceResourceCollection.GetAsync Methode

Definition

Ruft den CommunicationService und seine Eigenschaften ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}
  • Vorgangs-IdCommunicationServices_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>> GetAsync (string communicationServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.CommunicationServiceResource>>
Public Overridable Function GetAsync (communicationServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommunicationServiceResource))

Parameter

communicationServiceName
String

Der Name der CommunicationService-Ressource.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

communicationServiceName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

communicationServiceName ist NULL.

Gilt für: