你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CallAutomationModelFactory.CallConnectionProperties 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
- callConnectionId
- String
呼叫连接 ID。
- serverCallId
- String
服务器调用 ID。
- targets
- IEnumerable<CommunicationIdentifier>
调用的目标。
- callConnectionState
- CallConnectionState
呼叫连接的状态。
- callbackUri
- Uri
回调 URI。
- sourceIdentity
- CommunicationIdentifier
源标识。
- sourceCallerIdNumber
- PhoneNumberIdentifier
要显示在被邀请者上的来电显示电话号码。
- sourceDisplayName
- String
要显示在被邀请者上的显示名称。
- answeredBy
- CommunicationIdentifier
AnsweredBy 标识。
返回
用于模拟的新 CallConnectionProperties 实例。