Aspose::Email::Tools::Verifications::MessageValidationResult Class Reference

Represents the result of message validation. More...

Inherits Object.

Public Member Functions

System::String get_ErrorMessage () const
 Gets an error message if the validation result is not successful. More...
 
void set_ErrorMessage (System::String value)
 Gets an error message if the validation result is not successful. More...
 
bool get_IsSuccess ()
 Gets the result of validation true if successful, otherwise false. More...
 
FileFormatType get_FormatType () const
 Gets the format of source file or stream. More...
 
void set_FormatType (FileFormatType value)
 Gets the format of source file or stream. More...
 
System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< MessageValidationError > > > get_Errors () const
 Gets the collection of errors. More...
 
 MessageValidationResult ()
 
 MessageValidationResult (System::String errorMessage)
 

Friends

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

Detailed Description

Represents the result of message validation.

Constructor & Destructor Documentation

◆ MessageValidationResult() [1/2]

Aspose::Email::Tools::Verifications::MessageValidationResult::MessageValidationResult ( )

◆ MessageValidationResult() [2/2]

Aspose::Email::Tools::Verifications::MessageValidationResult::MessageValidationResult ( System::String  errorMessage)

Member Function Documentation

◆ get_ErrorMessage()

System::String Aspose::Email::Tools::Verifications::MessageValidationResult::get_ErrorMessage ( ) const

Gets an error message if the validation result is not successful.

◆ get_Errors()

System::SharedPtr<System::Collections::Generic::ListExt<System::SharedPtr<MessageValidationError> > > Aspose::Email::Tools::Verifications::MessageValidationResult::get_Errors ( ) const

Gets the collection of errors.

◆ get_FormatType()

FileFormatType Aspose::Email::Tools::Verifications::MessageValidationResult::get_FormatType ( ) const

Gets the format of source file or stream.

◆ get_IsSuccess()

bool Aspose::Email::Tools::Verifications::MessageValidationResult::get_IsSuccess ( )

Gets the result of validation true if successful, otherwise false.

◆ set_ErrorMessage()

void Aspose::Email::Tools::Verifications::MessageValidationResult::set_ErrorMessage ( System::String  value)

Gets an error message if the validation result is not successful.

◆ set_FormatType()

void Aspose::Email::Tools::Verifications::MessageValidationResult::set_FormatType ( FileFormatType  value)

Gets the format of source file or stream.

Friends And Related Function Documentation

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

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