你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EventGridModelFactory.AcsChatThreadCreatedEventData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 AcsChatThreadCreatedEventData 的新实例。
public static Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadCreatedEventData AcsChatThreadCreatedEventData (string transactionId = default, string threadId = default, DateTimeOffset? createTime = default, long? version = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel createdByCommunicationIdentifier = default, System.Collections.Generic.IReadOnlyDictionary<string,object> properties = default, System.Collections.Generic.IEnumerable<Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadParticipantProperties> participants = default);
static member AcsChatThreadCreatedEventData : string * string * Nullable<DateTimeOffset> * Nullable<int64> * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * System.Collections.Generic.IReadOnlyDictionary<string, obj> * seq<Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadParticipantProperties> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadCreatedEventData
Public Shared Function AcsChatThreadCreatedEventData (Optional transactionId As String = Nothing, Optional threadId As String = Nothing, Optional createTime As Nullable(Of DateTimeOffset) = Nothing, Optional version As Nullable(Of Long) = Nothing, Optional createdByCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional properties As IReadOnlyDictionary(Of String, Object) = Nothing, Optional participants As IEnumerable(Of AcsChatThreadParticipantProperties) = Nothing) As AcsChatThreadCreatedEventData
参数
- transactionId
- String
事务 ID 将用作共关系向量。
- threadId
- String
聊天线程 ID。
- createTime
- Nullable<DateTimeOffset>
线程的原始创建时间。
- createdByCommunicationIdentifier
- CommunicationIdentifierModel
创建线程的用户的通信标识符。
- properties
- IReadOnlyDictionary<String,Object>
线程属性。
- participants
- IEnumerable<AcsChatThreadParticipantProperties>
属于线程的参与者的属性列表。
返回
用于模拟的新 AcsChatThreadCreatedEventData 实例。