Aspose::Email::Tools::Verifications::MessageValidationError Class Referencefinal

Represents the message validation error information. More...

Inherits Object.

Public Member Functions

MessageValidationErrorType get_ErrorType () const
 Gets a type of error. More...
 
System::String get_Description () const
 Gets an error description. More...
 
System::Nullable< int32_t > get_LineNumber () const
 Gets a number of line where error was found. More...
 
 MessageValidationError ()
 Initializes a new instance of the MessageValidationError class. More...
 
 MessageValidationError (MessageValidationErrorType errorType, System::String description)
 Initializes a new instance of the MessageValidationError class. More...
 
 MessageValidationError (MessageValidationErrorType errorType, System::String description, System::Nullable< int32_t > lineNumber)
 Initializes a new instance of the MessageValidationError class. More...
 

Detailed Description

Represents the message validation error information.

Constructor & Destructor Documentation

◆ MessageValidationError() [1/3]

Aspose::Email::Tools::Verifications::MessageValidationError::MessageValidationError ( )

Initializes a new instance of the MessageValidationError class.

◆ MessageValidationError() [2/3]

Aspose::Email::Tools::Verifications::MessageValidationError::MessageValidationError ( MessageValidationErrorType  errorType,
System::String  description 
)

Initializes a new instance of the MessageValidationError class.

Parameters
errorTypeA type of validation error.
descriptionA description of error.

◆ MessageValidationError() [3/3]

Aspose::Email::Tools::Verifications::MessageValidationError::MessageValidationError ( MessageValidationErrorType  errorType,
System::String  description,
System::Nullable< int32_t >  lineNumber 
)

Initializes a new instance of the MessageValidationError class.

Parameters
errorTypeA type of validation error.
descriptionA description of error.
lineNumberA line number where error was found.

Member Function Documentation

◆ get_Description()

System::String Aspose::Email::Tools::Verifications::MessageValidationError::get_Description ( ) const

Gets an error description.

◆ get_ErrorType()

MessageValidationErrorType Aspose::Email::Tools::Verifications::MessageValidationError::get_ErrorType ( ) const

Gets a type of error.

◆ get_LineNumber()

System::Nullable<int32_t> Aspose::Email::Tools::Verifications::MessageValidationError::get_LineNumber ( ) const

Gets a number of line where error was found.