Compartilhar via


CallConnection.TransferCallToParticipant Método

Definição

Sobrecargas

TransferCallToParticipant(TransferToParticipantOptions, CancellationToken)

Transfira a chamada.

TransferCallToParticipant(CommunicationIdentifier, CancellationToken)

Transfira essa chamada para um participante.

TransferCallToParticipant(TransferToParticipantOptions, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Transfira a chamada.

public virtual Azure.Response<Azure.Communication.CallAutomation.TransferCallToParticipantResult> TransferCallToParticipant (Azure.Communication.CallAutomation.TransferToParticipantOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member TransferCallToParticipant : Azure.Communication.CallAutomation.TransferToParticipantOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.TransferCallToParticipantResult>
override this.TransferCallToParticipant : Azure.Communication.CallAutomation.TransferToParticipantOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.TransferCallToParticipantResult>
Public Overridable Function TransferCallToParticipant (options As TransferToParticipantOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TransferCallToParticipantResult)

Parâmetros

options
TransferToParticipantOptions

Opções para a operação Transferir Chamada para Participante.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

options Os cabeçalhos de repetibilidade são definidos incorretamente.

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

SourceCallerId é nulo em options ao transferir a chamada para um destino PSTN.

Aplica-se a

TransferCallToParticipant(CommunicationIdentifier, CancellationToken)

Origem:
CallConnection.cs
Origem:
CallConnection.cs

Transfira essa chamada para um participante.

public virtual Azure.Response<Azure.Communication.CallAutomation.TransferCallToParticipantResult> TransferCallToParticipant (Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default);
abstract member TransferCallToParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.TransferCallToParticipantResult>
override this.TransferCallToParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.TransferCallToParticipantResult>
Public Overridable Function TransferCallToParticipant (targetParticipant As CommunicationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TransferCallToParticipantResult)

Parâmetros

targetParticipant
CommunicationIdentifier

O destino para o qual transferir a chamada.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

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

targetParticipant é nulo.

Aplica-se a