Sends the specified tone at the specified
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, _
volume
As
Single _
)
|
C# |
public
void
Send(
int
tone,
float
volume
)
|
Visual C++ |
public:
void
Send(
int
tone,
float
volume
)
|
JavaScript |
function
send(
tone,
volume);
|
Parameters
-
tone
- Type:
Int32
The tone to be sent.
-
volume
- Type:
Single
The volume, as a percent, of the tone to be sent. This value
must be between 0 and 100, inclusive.
Remarks
Exceptions
Exception |
Condition |
ArgumentOutOfRangeException
|
Thrown when the tone is out of range (less than MinTone or
greater than MaxTone), or when volume is negative or larger than
100. |
See Also