CallConnection.GetParticipants(CancellationToken) Method

Definition

Get participants from a call.

public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.CallParticipant>> GetParticipants (System.Threading.CancellationToken cancellationToken = default);
abstract member GetParticipants : System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.CallParticipant>>
override this.GetParticipants : System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.CallParticipant>>
Public Overridable Function GetParticipants (Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyList(Of CallParticipant))

Parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

The IEnumerable<T>.

Exceptions

The server returned an error. See Message for details returned from the server.

Applies to