Mutes the audio.
Namespace:
Microsoft.Rtc.Collaboration.AudioVideo
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
Mute ( _
direction
As
MuteDirection _
)
|
JavaScript |
function
mute(
direction);
|
Exceptions
Exception |
Condition |
InvalidOperationException
|
Thrown when the AudioVideoFlow is not in the Active state or
when there is no audio channel. |
ArgumentException
|
Thrown when the direction specified is invalid. |
ArgumentOutOfRangeException
|
Thrown when the direction specified is not a value in the
MuteDirection enumerated type. |
See Also