Udostępnij za pośrednictwem


CallingServerModelFactory.ToneInfo(Int32, ToneValue) Method

Definition

Initializes a new instance of ToneInfo.

public static Azure.Communication.CallingServer.ToneInfo ToneInfo (int sequenceId = 0, Azure.Communication.CallingServer.ToneValue tone = default);
static member ToneInfo : int * Azure.Communication.CallingServer.ToneValue -> Azure.Communication.CallingServer.ToneInfo
Public Shared Function ToneInfo (Optional sequenceId As Integer = 0, Optional tone As ToneValue = Nothing) As ToneInfo

Parameters

sequenceId
Int32

The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.

tone
ToneValue

The tone value.

Returns

A new ToneInfo instance for mocking.

Applies to