Freigeben über


SupportTicketCommunicationCollection.GetIfExists Methode

Definition

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/communications/{communicationName}
  • Vorgang IdCommunications_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketCommunicationResource> GetIfExists (string communicationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketCommunicationResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketCommunicationResource>
Public Overridable Function GetIfExists (communicationName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SupportTicketCommunicationResource)

Parameter

communicationName
String

Kommunikationsname.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

communicationName ist NULL.

Gilt für: