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

EventGridModelFactory.AcsChatParticipantAddedToThreadEventData 方法

定义

初始化 AcsChatParticipantAddedToThreadEventData 的新实例。

public static Azure.Messaging.EventGrid.SystemEvents.AcsChatParticipantAddedToThreadEventData AcsChatParticipantAddedToThreadEventData (string transactionId = default, string threadId = default, DateTimeOffset? time = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel addedByCommunicationIdentifier = default, Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadParticipantProperties participantAdded = default, long? version = default);
static member AcsChatParticipantAddedToThreadEventData : string * string * Nullable<DateTimeOffset> * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadParticipantProperties * Nullable<int64> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatParticipantAddedToThreadEventData
Public Shared Function AcsChatParticipantAddedToThreadEventData (Optional transactionId As String = Nothing, Optional threadId As String = Nothing, Optional time As Nullable(Of DateTimeOffset) = Nothing, Optional addedByCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional participantAdded As AcsChatThreadParticipantProperties = Nothing, Optional version As Nullable(Of Long) = Nothing) As AcsChatParticipantAddedToThreadEventData

参数

transactionId
String

事务 ID 将用作共关系向量。

threadId
String

聊天线程 ID。

time
Nullable<DateTimeOffset>

将用户添加到线程的时间。

addedByCommunicationIdentifier
CommunicationIdentifierModel

添加用户的通信标识符。

participantAdded
AcsChatThreadParticipantProperties

添加的用户的详细信息。

version
Nullable<Int64>

线程的版本。

返回

用于模拟的新 AcsChatParticipantAddedToThreadEventData 实例。

适用于