Partager via


CallAutomationModelFactory.AnswerCallResult Method

Definition

Initializes a new instance of AnswerCallResult.

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

Parameters

callConnection
CallConnection

CallConnection Client.

callConnectionProperties
CallConnectionProperties

Properties of the call.

Returns

A new AnswerCallResult instance for mocking.

Applies to