CallConnection.MoveParticipantsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| MoveParticipantsAsync(MoveParticipantsOptions, CancellationToken) |
Move multiple participants from another call to this call using the provided options. |
| MoveParticipantsAsync(IEnumerable<CommunicationIdentifier>, String, CancellationToken) |
Move multiple participants from another call to this call. |
MoveParticipantsAsync(MoveParticipantsOptions, CancellationToken)
- Source:
- CallConnection.cs
- Source:
- CallConnection.cs
Move multiple participants from another call to this call using the provided options.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>> MoveParticipantsAsync(Azure.Communication.CallAutomation.MoveParticipantsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member MoveParticipantsAsync : Azure.Communication.CallAutomation.MoveParticipantsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>>
override this.MoveParticipantsAsync : Azure.Communication.CallAutomation.MoveParticipantsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>>
Public Overridable Function MoveParticipantsAsync (options As MoveParticipantsOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MoveParticipantsResult))
Parameters
- options
- MoveParticipantsOptions
Options for the MoveParticipants operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A MoveParticipantsResult containing the result of the operation.
Applies to
MoveParticipantsAsync(IEnumerable<CommunicationIdentifier>, String, CancellationToken)
- Source:
- CallConnection.cs
- Source:
- CallConnection.cs
Move multiple participants from another call to this call.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>> MoveParticipantsAsync(System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targetParticipants, string fromCallId, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>> MoveParticipantsAsync(System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targetParticipants, string fromCall, System.Threading.CancellationToken cancellationToken = default);
abstract member MoveParticipantsAsync : seq<Azure.Communication.CommunicationIdentifier> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>>
override this.MoveParticipantsAsync : seq<Azure.Communication.CommunicationIdentifier> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>>
abstract member MoveParticipantsAsync : seq<Azure.Communication.CommunicationIdentifier> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>>
override this.MoveParticipantsAsync : seq<Azure.Communication.CommunicationIdentifier> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.MoveParticipantsResult>>
Public Overridable Function MoveParticipantsAsync (targetParticipants As IEnumerable(Of CommunicationIdentifier), fromCallId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MoveParticipantsResult))
Public Overridable Function MoveParticipantsAsync (targetParticipants As IEnumerable(Of CommunicationIdentifier), fromCall As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MoveParticipantsResult))
Parameters
- targetParticipants
- IEnumerable<CommunicationIdentifier>
The participants to move.
- fromCallIdfromCall
- String
The call connection id to move the participants from.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A MoveParticipantsResult containing the result of the operation.