Table of Contents

Class ValidationProblem

Namespace
MailForge.Models
Assembly
MailForge.dll

A single validation problem found on an EmailMessage.

public sealed class ValidationProblem
Inheritance
ValidationProblem
Inherited Members

Constructors

ValidationProblem(string, string)

Creates a validation problem.

public ValidationProblem(string code, string message)

Parameters

code string
message string

Properties

Code

A short machine-readable code (for example, "NoRecipients").

public string Code { get; }

Property Value

string

Message

A human-readable description of the problem.

public string Message { get; }

Property Value

string

Methods

ToString()

Returns a string representation of this problem.

public override string ToString()

Returns

string