CallConnection.AddParticipantAsync 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
AddParticipantAsync(AddParticipantOptions, CancellationToken) |
Add participant to the call. |
AddParticipantAsync(CallInvite, CancellationToken) |
Add participant to the call. |
AddParticipantAsync(AddParticipantOptions, CancellationToken)
- Source:
- CallConnection.cs
- Source:
- CallConnection.cs
Add participant to the call.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>> AddParticipantAsync (Azure.Communication.CallAutomation.AddParticipantOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipantAsync : Azure.Communication.CallAutomation.AddParticipantOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>>
override this.AddParticipantAsync : Azure.Communication.CallAutomation.AddParticipantOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>>
Public Overridable Function AddParticipantAsync (options As AddParticipantOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AddParticipantResult))
Parameters
- options
- AddParticipantOptions
Options for the Add Participants operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.
options
is null.
Applies to
AddParticipantAsync(CallInvite, CancellationToken)
- Source:
- CallConnection.cs
- Source:
- CallConnection.cs
Add participant to the call.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>> AddParticipantAsync (Azure.Communication.CallAutomation.CallInvite participantToAdd, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipantAsync : Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>>
override this.AddParticipantAsync : Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>>
Public Overridable Function AddParticipantAsync (participantToAdd As CallInvite, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AddParticipantResult))
Parameters
- participantToAdd
- CallInvite
Participant to add.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.
participantToAdd
is null.
Applies to
Azure SDK for .NET