Aspose::Email::EmlValidationError Class Referencefinal

Represents the eml validation error information. More...

Inherits Object.

Public Member Functions

int32_t get_LineNumber () const
 Gets a number of line where error was found. More...
 
EmlValidationErrorType get_ErrorType () const
 Gets a type of error. More...
 
System::String get_ErrorMessage () const
 Gets an error message. More...
 
 EmlValidationError ()
 Initializes a new instance of the EmlValidationError class. More...
 
 EmlValidationError (EmlValidationErrorType errorType, int32_t lineNumber, System::String errorMessage)
 Initializes a new instance of the EmlValidationError class. More...
 

Friends

class Aspose::Email::EmlValidator
 

Detailed Description

Represents the eml validation error information.

Constructor & Destructor Documentation

◆ EmlValidationError() [1/2]

Aspose::Email::EmlValidationError::EmlValidationError ( )

Initializes a new instance of the EmlValidationError class.

◆ EmlValidationError() [2/2]

Aspose::Email::EmlValidationError::EmlValidationError ( EmlValidationErrorType  errorType,
int32_t  lineNumber,
System::String  errorMessage 
)

Initializes a new instance of the EmlValidationError class.

Parameters
errorTypeA type of validation error.
lineNumberA line number where error was found.
errorMessageAn error message.

Member Function Documentation

◆ get_ErrorMessage()

System::String Aspose::Email::EmlValidationError::get_ErrorMessage ( ) const

Gets an error message.

◆ get_ErrorType()

EmlValidationErrorType Aspose::Email::EmlValidationError::get_ErrorType ( ) const

Gets a type of error.

◆ get_LineNumber()

int32_t Aspose::Email::EmlValidationError::get_LineNumber ( ) const

Gets a number of line where error was found.

Friends And Related Function Documentation

◆ Aspose::Email::EmlValidator

friend class Aspose::Email::EmlValidator
friend