Show / Hide Table of Contents

    Class ParticipantExtensions

    Extensions for the stateful participant resource.

    Inheritance
    Object
    ParticipantExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.Graph.Communications.Calls
    Assembly: Microsoft.Graph.Communications.Calls.dll
    Syntax
    public static class ParticipantExtensions

    Methods

    InviteAsync(IParticipantCollection, IdentitySet, String, CancellationToken)

    Invite a participant into the existing call.

    Declaration
    public static Task InviteAsync(this IParticipantCollection participantCollection, IdentitySet identitySet, string replacesCallId = null, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    IParticipantCollection participantCollection

    The participant collection into which a new participant is being invited.

    IdentitySet identitySet

    The identity set of the invited participant.

    String replacesCallId

    The replaces call identifier. This is an optional field used for consultative transfer. This is used to bring a participant from an existing call.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    The Task that completes after the request has been sent. This does not guarantee that the participant has joined. Any updates on the participant collection will be delivered via notification and can be observed using IParticipantCollection.OnUpdated

    Exceptions
    Type Condition
    ArgumentNullException

    If IdentitySet is null.

    Back to top Copyright (c) Microsoft Corporation. All rights reserved.