CallConnection.GetParticipantsAsync(CancellationToken) 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 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.