Send Method (Int32, 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 Integer, _
volume As Single _
)
'Usage
Dim instance As ToneController
Dim tone As Integer
Dim volume As Single
instance.Send(tone, volume)
public void Send(
int tone,
float volume
)
Parameters
- tone
Type: System..::..Int32
- 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.