Share via


CallConnection.GetParticipantsAsync(CancellationToken) Method

Definition

Get participants from a call.

public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.CallParticipant>>> GetParticipantsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetParticipantsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.CallParticipant>>>
override this.GetParticipantsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.CallAutomation.CallParticipant>>>
Public Overridable Function GetParticipantsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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