Udostępnij za pośrednictwem


SupportTicketChatTranscriptCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}
  • Operation Id: ChatTranscripts_Get
  • Default Api Version: 2024-04-01
  • Resource: SupportTicketChatTranscriptResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource>> GetIfExistsAsync (string chatTranscriptName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Support.SupportTicketChatTranscriptResource>>
Public Overridable Function GetIfExistsAsync (chatTranscriptName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of SupportTicketChatTranscriptResource))

Parameters

chatTranscriptName
String

ChatTranscript name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

chatTranscriptName is an empty string, and was expected to be non-empty.

chatTranscriptName is null.

Applies to