CallConnection.AddParticipant 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
AddParticipant(AddParticipantOptions, CancellationToken) |
Add participant to the call. |
AddParticipant(CallInvite, CancellationToken) |
Add participant to the call. |
AddParticipant(AddParticipantOptions, CancellationToken)
- Source:
- CallConnection.cs
- Source:
- CallConnection.cs
Add participant to the call.
public virtual Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult> AddParticipant (Azure.Communication.CallAutomation.AddParticipantOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipant : Azure.Communication.CallAutomation.AddParticipantOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>
override this.AddParticipant : Azure.Communication.CallAutomation.AddParticipantOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>
Public Overridable Function AddParticipant (options As AddParticipantOptions, Optional cancellationToken As CancellationToken = Nothing) As 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
AddParticipant(CallInvite, CancellationToken)
- Source:
- CallConnection.cs
- Source:
- CallConnection.cs
Add participant to the call.
public virtual Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult> AddParticipant (Azure.Communication.CallAutomation.CallInvite participantToAdd, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipant : Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>
override this.AddParticipant : Azure.Communication.CallAutomation.CallInvite * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.AddParticipantResult>
Public Overridable Function AddParticipant (participantToAdd As CallInvite, Optional cancellationToken As CancellationToken = Nothing) As 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