Compartilhar via


ChatClient.DeleteChatThread(String, CancellationToken) Método

Definição

Exclui um thread.

public virtual Azure.Response DeleteChatThread (string threadId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteChatThread : string * System.Threading.CancellationToken -> Azure.Response
override this.DeleteChatThread : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteChatThread (threadId As String, Optional cancellationToken As CancellationToken = Nothing) As 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