EventGridModelFactory.AcsEmailDeliveryReportReceivedEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for