Aspose::Email::Tools::Verifications::ValidationResult Class Reference

Present the result of the email validating process. More...

Inherits Object.

Public Member Functions

ValidationResponseCode get_ReturnCode () const
 Gets or ses the response code of the validating process. More...
 
void set_ReturnCode (ValidationResponseCode value)
 Gets or ses the response code of the validating process. More...
 
System::String get_Message ()
 Gets the detail message about the result. More...
 
System::Exception get_LastException () const
 The last error met in the validating process. More...
 
void set_LastException (System::Exception value)
 The last error met in the validating process. More...
 
 ValidationResult ()
 Create an instance of the ValidationResult class More...
 
 ValidationResult (ValidationResponseCode responseCode)
 Create an instance of the ValidationResult class, with the specified
See also
ValidationResponseCode

ValidationResponseCode More...

 
 ValidationResult (ValidationResponseCode responseCode, System::Exception lastException)
 Create an instance of the ValidationResult class, with the specified
See also
ValidationResponseCode

ValidationResponseCode, and the last exception. More...

 

Detailed Description

Present the result of the email validating process.

Constructor & Destructor Documentation

◆ ValidationResult() [1/3]

Aspose::Email::Tools::Verifications::ValidationResult::ValidationResult ( )

Create an instance of the ValidationResult class

◆ ValidationResult() [2/3]

Aspose::Email::Tools::Verifications::ValidationResult::ValidationResult ( ValidationResponseCode  responseCode)

Create an instance of the ValidationResult class, with the specified

See also
ValidationResponseCode

ValidationResponseCode

Parameters
responseCodeThe response code of the validating process.

◆ ValidationResult() [3/3]

Aspose::Email::Tools::Verifications::ValidationResult::ValidationResult ( ValidationResponseCode  responseCode,
System::Exception  lastException 
)

Create an instance of the ValidationResult class, with the specified

See also
ValidationResponseCode

ValidationResponseCode, and the last exception.

Parameters
responseCodeThe response code of the validating process.
lastExceptionThe last exception met in the validating process.

Member Function Documentation

◆ get_LastException()

System::Exception Aspose::Email::Tools::Verifications::ValidationResult::get_LastException ( ) const

The last error met in the validating process.

◆ get_Message()

System::String Aspose::Email::Tools::Verifications::ValidationResult::get_Message ( )

Gets the detail message about the result.

◆ get_ReturnCode()

ValidationResponseCode Aspose::Email::Tools::Verifications::ValidationResult::get_ReturnCode ( ) const

Gets or ses the response code of the validating process.

◆ set_LastException()

void Aspose::Email::Tools::Verifications::ValidationResult::set_LastException ( System::Exception  value)

The last error met in the validating process.

◆ set_ReturnCode()

void Aspose::Email::Tools::Verifications::ValidationResult::set_ReturnCode ( ValidationResponseCode  value)

Gets or ses the response code of the validating process.