Interface IParticipantCollection
The stateful participant collection interface.
Inherited Members
Namespace: Microsoft.Graph.Communications.Calls
Assembly: Microsoft.Graph.Communications.Calls.dll
Syntax
public interface IParticipantCollection : IResourceCollection<IParticipantCollection, IParticipant, Participant>, IResourceCollection<IParticipant, Participant>, IResourceCollection, IResourceBase, IDisposable, IReadOnlyCollection<IParticipant>, IEnumerable<IParticipant>, IEnumerable
Methods
GetAsync(String, CancellationToken)
Gets the participant from the collection.
Declaration
Task<IParticipant> GetAsync(string participantId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
String | participantId | The participant identifier. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task<IParticipant> | The found IParticipant. |
Exceptions
Type | Condition |
---|---|
ServiceException | If the specified participant was not found. |
InviteAsync(IEnumerable<InvitationParticipantInfo>, CancellationToken)
Invites a list of participants given their identities.
Declaration
Task InviteAsync(IEnumerable<InvitationParticipantInfo> participants, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<InvitationParticipantInfo> | participants | The list of InvitationParticipantInfo to invite. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task | The Task that completes after the request has been sent. The invite updates will come in on IParticipantCollection.OnUpdated |