CallAutomationModelFactory.CallParticipant Method

Definition

Overloads

CallParticipant(CommunicationIdentifier, Boolean)

Initializes a new instance of CallParticipant.

CallParticipant(CommunicationIdentifier, Boolean, Boolean)

Initializes a new instance of CallParticipant.

CallParticipant(CommunicationIdentifier, Boolean)

Source:
CallAutomationModelFactory.cs

Initializes a new instance of CallParticipant.

public static Azure.Communication.CallAutomation.CallParticipant CallParticipant (Azure.Communication.CommunicationIdentifier identifier = default, bool isMuted = false);
static member CallParticipant : Azure.Communication.CommunicationIdentifier * bool -> Azure.Communication.CallAutomation.CallParticipant
Public Shared Function CallParticipant (Optional identifier As CommunicationIdentifier = Nothing, Optional isMuted As Boolean = false) As CallParticipant

Parameters

identifier
CommunicationIdentifier

The communication identifier.

isMuted
Boolean

Is participant muted.

Returns

A new CallParticipant instance for mocking.

Applies to

CallParticipant(CommunicationIdentifier, Boolean, Boolean)

Source:
CallAutomationModelFactory.cs

Initializes a new instance of CallParticipant.

public static Azure.Communication.CallAutomation.CallParticipant CallParticipant (Azure.Communication.CommunicationIdentifier identifier = default, bool isMuted = false, bool isOnHold = false);
static member CallParticipant : Azure.Communication.CommunicationIdentifier * bool * bool -> Azure.Communication.CallAutomation.CallParticipant
Public Shared Function CallParticipant (Optional identifier As CommunicationIdentifier = Nothing, Optional isMuted As Boolean = false, Optional isOnHold As Boolean = false) As CallParticipant

Parameters

identifier
CommunicationIdentifier

The communication identifier.

isMuted
Boolean

Is participant muted.

isOnHold
Boolean

Is participant on hold.

Returns

A new CallParticipant instance for mocking.

Applies to