CallAutomationModelFactory.CallConnectionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of CallConnectionProperties.
public static Azure.Communication.CallAutomation.CallConnectionProperties CallConnectionProperties (string callConnectionId = default, string serverCallId = default, System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targets = default, Azure.Communication.CallAutomation.CallConnectionState callConnectionState = default, Uri callbackUri = default, Azure.Communication.CommunicationIdentifier sourceIdentity = default, Azure.Communication.PhoneNumberIdentifier sourceCallerIdNumber = default, string sourceDisplayName = default, Azure.Communication.CommunicationIdentifier answeredBy = default);
static member CallConnectionProperties : string * string * seq<Azure.Communication.CommunicationIdentifier> * Azure.Communication.CallAutomation.CallConnectionState * Uri * Azure.Communication.CommunicationIdentifier * Azure.Communication.PhoneNumberIdentifier * string * Azure.Communication.CommunicationIdentifier -> Azure.Communication.CallAutomation.CallConnectionProperties
Public Shared Function CallConnectionProperties (Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional targets As IEnumerable(Of CommunicationIdentifier) = Nothing, Optional callConnectionState As CallConnectionState = Nothing, Optional callbackUri As Uri = Nothing, Optional sourceIdentity As CommunicationIdentifier = Nothing, Optional sourceCallerIdNumber As PhoneNumberIdentifier = Nothing, Optional sourceDisplayName As String = Nothing, Optional answeredBy As CommunicationIdentifier = Nothing) As CallConnectionProperties
Parameters
- callConnectionId
- String
The call connection id.
- serverCallId
- String
The server call id.
- targets
- IEnumerable<CommunicationIdentifier>
The targets of the call.
- callConnectionState
- CallConnectionState
The state of the call connection.
- callbackUri
- Uri
The callback URI.
- sourceIdentity
- CommunicationIdentifier
Source identity.
- sourceCallerIdNumber
- PhoneNumberIdentifier
Caller ID phone number to appear on the invitee.
- sourceDisplayName
- String
Display name to appear on the invitee.
- answeredBy
- CommunicationIdentifier
AnsweredBy identity.
Returns
A new CallConnectionProperties instance for mocking.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應