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 |
Represents the result of message validation.
Aspose::Email::Tools::Verifications::MessageValidationResult::MessageValidationResult | ( | ) |
Aspose::Email::Tools::Verifications::MessageValidationResult::MessageValidationResult | ( | System::String | errorMessage | ) |
System::String Aspose::Email::Tools::Verifications::MessageValidationResult::get_ErrorMessage | ( | ) | const |
Gets an error message if the validation result is not successful.
System::SharedPtr<System::Collections::Generic::ListExt<System::SharedPtr<MessageValidationError> > > Aspose::Email::Tools::Verifications::MessageValidationResult::get_Errors | ( | ) | const |
Gets the collection of errors.
FileFormatType Aspose::Email::Tools::Verifications::MessageValidationResult::get_FormatType | ( | ) | const |
Gets the format of source file or stream.
bool Aspose::Email::Tools::Verifications::MessageValidationResult::get_IsSuccess | ( | ) |
Gets the result of validation true if successful, otherwise false.
void Aspose::Email::Tools::Verifications::MessageValidationResult::set_ErrorMessage | ( | System::String | value | ) |
Gets an error message if the validation result is not successful.
void Aspose::Email::Tools::Verifications::MessageValidationResult::set_FormatType | ( | FileFormatType | value | ) |
Gets the format of source file or stream.
|
friend |