Condividi tramite


EventGridModelFactory.AcsChatThreadDeletedEventData Method

Definition

Initializes a new instance of AcsChatThreadDeletedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadDeletedEventData AcsChatThreadDeletedEventData (string transactionId = default, string threadId = default, DateTimeOffset? createTime = default, long? version = default, Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel deletedByCommunicationIdentifier = default, DateTimeOffset? deleteTime = default);
static member AcsChatThreadDeletedEventData : string * string * Nullable<DateTimeOffset> * Nullable<int64> * Azure.Messaging.EventGrid.SystemEvents.CommunicationIdentifierModel * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.AcsChatThreadDeletedEventData
Public Shared Function AcsChatThreadDeletedEventData (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 deletedByCommunicationIdentifier As CommunicationIdentifierModel = Nothing, Optional deleteTime As Nullable(Of DateTimeOffset) = Nothing) As AcsChatThreadDeletedEventData

Parameters

transactionId
String

The transaction id will be used as co-relation vector.

threadId
String

The chat thread id.

createTime
Nullable<DateTimeOffset>

The original creation time of the thread.

version
Nullable<Int64>

The version of the thread.

deletedByCommunicationIdentifier
CommunicationIdentifierModel

The communication identifier of the user who deleted the thread.

deleteTime
Nullable<DateTimeOffset>

The deletion time of the thread.

Returns

A new AcsChatThreadDeletedEventData instance for mocking.

Applies to