Share via


EventGridModelFactory.AcsEmailDeliveryReportReceivedEventData Method

Definition

Initializes a new instance of AcsEmailDeliveryReportReceivedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsEmailDeliveryReportReceivedEventData AcsEmailDeliveryReportReceivedEventData (string sender = default, string recipient = default, string messageId = default, Azure.Messaging.EventGrid.SystemEvents.AcsEmailDeliveryReportStatus? status = default, Azure.Messaging.EventGrid.SystemEvents.AcsEmailDeliveryReportStatusDetails deliveryStatusDetails = default, DateTimeOffset? deliveryAttemptTimestamp = default);
static member AcsEmailDeliveryReportReceivedEventData : string * string * string * Nullable<Azure.Messaging.EventGrid.SystemEvents.AcsEmailDeliveryReportStatus> * Azure.Messaging.EventGrid.SystemEvents.AcsEmailDeliveryReportStatusDetails * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.AcsEmailDeliveryReportReceivedEventData
Public Shared Function AcsEmailDeliveryReportReceivedEventData (Optional sender As String = Nothing, Optional recipient As String = Nothing, Optional messageId As String = Nothing, Optional status As Nullable(Of AcsEmailDeliveryReportStatus) = Nothing, Optional deliveryStatusDetails As AcsEmailDeliveryReportStatusDetails = Nothing, Optional deliveryAttemptTimestamp As Nullable(Of DateTimeOffset) = Nothing) As AcsEmailDeliveryReportReceivedEventData

Parameters

sender
String

The Sender Email Address.

recipient
String

The recipient Email Address.

messageId
String

The Id of the email been sent.

status
Nullable<AcsEmailDeliveryReportStatus>

The status of the email. Any value other than Delivered is considered failed.

deliveryStatusDetails
AcsEmailDeliveryReportStatusDetails

Detailed information about the status if any.

deliveryAttemptTimestamp
Nullable<DateTimeOffset>

The time at which the email delivery report received timestamp.

Returns

A new AcsEmailDeliveryReportReceivedEventData instance for mocking.

Applies to