Sends the specified tone at 50% volume.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
Send ( _
	
tone 
As 

ToneId _
)
C#
public 
void 
Send(
	

ToneId 
tone
)
Visual C++
public:
void 
Send(
	

ToneId 
tone
)
JavaScript
function 
send(
tone);

Parameters

tone
Type: Microsoft.Rtc.Collaboration.AudioVideo . . :: . ToneId
The tone to be sent.

Remarks

Tones will be sent only when all four affirmatives below apply: - An active AudioVideoFlow is attached - AudioVideoFlow.ToneEnabled is equal to true - AudioVideoFlow is not on hold - AudioVideoFlow's AudioChannel.Direction is SendReceive or SendOnly

Exceptions

Exception Condition
ArgumentOutOfRangeException Thrown when tone argument is out of range (less than MinTone or greater than MaxTone), or when volume is negative or larger than 100.

See Also