Partager via


CallAutomationModelFactory.CreateCallResult Method

Definition

Initializes a new instance of CallParticipant.

public static Azure.Communication.CallAutomation.CreateCallResult CreateCallResult (Azure.Communication.CallAutomation.CallConnection callConnection = default, Azure.Communication.CallAutomation.CallConnectionProperties callConnectionProperties = default);
static member CreateCallResult : Azure.Communication.CallAutomation.CallConnection * Azure.Communication.CallAutomation.CallConnectionProperties -> Azure.Communication.CallAutomation.CreateCallResult
Public Shared Function CreateCallResult (Optional callConnection As CallConnection = Nothing, Optional callConnectionProperties As CallConnectionProperties = Nothing) As CreateCallResult

Parameters

callConnection
CallConnection

The instance of callConnection.

callConnectionProperties
CallConnectionProperties

The properties of the call.

Returns

A new CreateCallResult instance for mocking.

Applies to