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...
 
System::SharedPtr< Tools::Verifications::MessageValidationErrorToValidationError ()
 

Friends

class Aspose::Email::EmlValidator
 
class Aspose::Email::Tools::Verifications::MessageValidator
 

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.

◆ ToValidationError()

System::SharedPtr<Tools::Verifications::MessageValidationError> Aspose::Email::EmlValidationError::ToValidationError ( )

Friends And Related Function Documentation

◆ Aspose::Email::EmlValidator

friend class Aspose::Email::EmlValidator
friend

◆ Aspose::Email::Tools::Verifications::MessageValidator

friend class Aspose::Email::Tools::Verifications::MessageValidator
friend