ServerCall.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.
Add participant to the call.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.AddParticipantResult>> AddParticipantAsync (Azure.Communication.CommunicationIdentifier participant, Uri callbackUri, string alternateCallerId = default, string operationContext = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddParticipantAsync : Azure.Communication.CommunicationIdentifier * Uri * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.AddParticipantResult>>
override this.AddParticipantAsync : Azure.Communication.CommunicationIdentifier * Uri * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.AddParticipantResult>>
Public Overridable Function AddParticipantAsync (participant As CommunicationIdentifier, callbackUri As Uri, Optional alternateCallerId As String = Nothing, Optional operationContext As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AddParticipantResult))
Parameters
- participant
- CommunicationIdentifier
The identity of participant to be added to the call.
- callbackUri
- Uri
- alternateCallerId
- String
The phone number to use when adding a pstn participant.
- operationContext
- String
The operation context.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET