Show / Hide Table of Contents

    Interface IParticipant

    The stateful participant interface. This represents a single participant in a call.

    Inherited Members
    IDisposable.Dispose()
    Namespace: Microsoft.Graph.Communications.Calls
    Assembly: Microsoft.Graph.Communications.Calls.dll
    Syntax
    public interface IParticipant : IResource<IParticipant, Participant>, IResource, IResourceBase, IDisposable

    Properties

    Resource

    Gets the stateful participant resource.

    Declaration
    Participant Resource { get; }
    Property Value
    Type Description
    Participant

    Methods

    DeleteAsync(Boolean, CancellationToken)

    Deletes this participant asynchronously.

    Declaration
    Task DeleteAsync(bool handleHttpNotFoundInternally = false, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    Boolean handleHttpNotFoundInternally

    If the IParticipant is already gone, whether to handle the exception gracefully or not.

    CancellationToken cancellationToken

    The CancellationToken for the request.

    Returns
    Type Description
    Task

    The Task that completes after the request has been sent. The completion of this task does not guarantee deletion. Confirmation of deletion comes as a notification and can be subscribed by IParticipant.OnUpdated and IParticipantCollection.OnUpdated

    MuteAsync(CancellationToken)

    Performs the mute operation asynchronously.

    Declaration
    Task MuteAsync(CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    The Task that completes after the request has been sent. The mute notification will come in on IParticipant.OnUpdated

    See Also

    IResource<TSelf, TEntity>
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.