HtmlForgeX

API Reference

Class

EmailDiagnostic

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Modifiers sealed

Represents a structured diagnostic raised while composing, rendering, or saving an email.

Inheritance

  • Object
  • EmailDiagnostic

Constructors

public EmailDiagnostic(EmailDiagnosticSeverity severity, EmailDiagnosticCategory category, String message, String code = null) #

Initializes a new instance of the EmailDiagnostic class.

Parameters

severity HtmlForgeX.Email.EmailDiagnosticSeverity requiredposition: 0
Diagnostic severity.
category HtmlForgeX.Email.EmailDiagnosticCategory requiredposition: 1
Diagnostic category.
message System.String requiredposition: 2
Diagnostic message.
code System.String = null optionalposition: 3
Optional stable diagnostic code.

Properties

public EmailDiagnosticSeverity Severity { get; } #

Gets the diagnostic severity.

public EmailDiagnosticCategory Category { get; } #

Gets the diagnostic category.

public String Code { get; } #

Gets the optional stable diagnostic code.

public String Message { get; } #

Gets the diagnostic message.

public DateTimeOffset TimestampUtc { get; } #

Gets the UTC timestamp when the diagnostic was created.