CallConnection.MuteParticipant 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.
Overloads
MuteParticipant(MuteParticipantOptions, CancellationToken) |
Mute participants from the call. Only Acs Users are currently supported. |
MuteParticipant(CommunicationIdentifier, CancellationToken) |
Mute participant from the call. Only Acs Users are currently supported. |
MuteParticipant(MuteParticipantOptions, CancellationToken)
- Source:
- CallConnection.cs
- Source:
- CallConnection.cs
Mute participants from the call. Only Acs Users are currently supported.
public virtual Azure.Response<Azure.Communication.CallAutomation.MuteParticipantResult> MuteParticipant (Azure.Communication.CallAutomation.MuteParticipantOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member MuteParticipant : Azure.Communication.CallAutomation.MuteParticipantOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.MuteParticipantResult>
override this.MuteParticipant : Azure.Communication.CallAutomation.MuteParticipantOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.MuteParticipantResult>
Public Overridable Function MuteParticipant (options As MuteParticipantOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MuteParticipantResult)
Parameters
- options
- MuteParticipantOptions
Options for the MuteParticipant operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A Response containing MuteParticipantResult.
Exceptions
The server returned an error. See Message for details returned from the server.
options
is null.
Applies to
MuteParticipant(CommunicationIdentifier, CancellationToken)
- Source:
- CallConnection.cs
- Source:
- CallConnection.cs
Mute participant from the call. Only Acs Users are currently supported.
public virtual Azure.Response<Azure.Communication.CallAutomation.MuteParticipantResult> MuteParticipant (Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default);
abstract member MuteParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.MuteParticipantResult>
override this.MuteParticipant : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.MuteParticipantResult>
Public Overridable Function MuteParticipant (targetParticipant As CommunicationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MuteParticipantResult)
Parameters
- targetParticipant
- CommunicationIdentifier
Participant to mute.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A Response containing MuteParticipantResult.
Exceptions
The server returned an error. See Message for details returned from the server.
targetParticipant
is null.
Applies to
Azure SDK for .NET