你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventGridModelFactory.AcsIncomingCallCustomContext 方法

定义

初始化 AcsIncomingCallCustomContext 的新实例。

public static Azure.Messaging.EventGrid.SystemEvents.AcsIncomingCallCustomContext AcsIncomingCallCustomContext (System.Collections.Generic.IReadOnlyDictionary<string,string> sipHeaders = default, System.Collections.Generic.IReadOnlyDictionary<string,string> voipHeaders = default);
static member AcsIncomingCallCustomContext : System.Collections.Generic.IReadOnlyDictionary<string, string> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.Messaging.EventGrid.SystemEvents.AcsIncomingCallCustomContext
Public Shared Function AcsIncomingCallCustomContext (Optional sipHeaders As IReadOnlyDictionary(Of String, String) = Nothing, Optional voipHeaders As IReadOnlyDictionary(Of String, String) = Nothing) As AcsIncomingCallCustomContext

参数

sipHeaders
IReadOnlyDictionary<String,String>

传入呼叫的 Sip 标头。

voipHeaders
IReadOnlyDictionary<String,String>

传入呼叫的 Voip 标头。

返回

用于模拟的新 AcsIncomingCallCustomContext 实例。

适用于