CallConnection.GetParticipant 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.
Get participant from a call.
public virtual Azure.Response<Azure.Communication.CallAutomation.CallParticipant> GetParticipant (Azure.Communication.CommunicationIdentifier participantIdentifier, System.Threading.CancellationToken cancellationToken = default);
abstract member GetParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.CallParticipant>
override this.GetParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.CallParticipant>
Public Overridable Function GetParticipant (participantIdentifier As CommunicationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CallParticipant)
Parameters
- participantIdentifier
- CommunicationIdentifier
The participant identifier.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The CallParticipant.
Exceptions
The server returned an error. See Message for details returned from the server.
participantIdentifier
is null.