Udostępnij za pośrednictwem


CallingServerModelFactory.ToneReceivedEvent(ToneInfo, String) Method

Definition

Initializes a new instance of ToneReceivedEvent.

public static Azure.Communication.CallingServer.ToneReceivedEvent ToneReceivedEvent (Azure.Communication.CallingServer.ToneInfo toneInfo = default, string callConnectionId = default);
static member ToneReceivedEvent : Azure.Communication.CallingServer.ToneInfo * string -> Azure.Communication.CallingServer.ToneReceivedEvent
Public Shared Function ToneReceivedEvent (Optional toneInfo As ToneInfo = Nothing, Optional callConnectionId As String = Nothing) As ToneReceivedEvent

Parameters

toneInfo
ToneInfo

The tone info.

callConnectionId
String

The call connection id.

Returns

A new ToneReceivedEvent instance for mocking.

Applies to