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 
Integer _
)
C#
public 
void 
Send(
	
int 
tone
)
Visual C++
public:
void 
Send(
	
int 
tone
)
JavaScript
function 
send(
tone);

Parameters

tone
Type: Int32
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).

See Also