次の方法で共有


SupportTicketNoSubChatTranscriptCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

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

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