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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET