Compartilhar via


ChatClient.DeleteChatThreadAsync(String, CancellationToken) Método

Definição

Exclui um thread de forma assíncrona.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteChatThreadAsync (string threadId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteChatThreadAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteChatThreadAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteChatThreadAsync (threadId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parâmetros

threadId
String

ID do thread a ser excluída.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

O servidor retornou um erro. Consulte Message para obter detalhes retornados do servidor.

Aplica-se a