Send Method (ToneId, Single)
Send a tone with a specified volume and duration.
Namespace: Microsoft.Rtc.Collaboration.AudioVideo
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub Send ( _
tone As ToneId, _
volume As Single _
)
'Usage
Dim instance As ToneController
Dim tone As ToneId
Dim volume As Single
instance.Send(tone, volume)
public void Send(
ToneId tone,
float volume
)
Parameters
- volume
Type: System..::..Single
Remarks
Exceptions
[T:System.InvalidOperationException]: Thrown when the ToneController is not bound to any AudioVideoFlow.
[T:System.ArgumentOutOfRangeException]: Thrown when the volume has a value that is not between 0 and 100 or duration is greater than 8000 milliseconds.