Aspose::Email::Clients::CommandStatus Class Reference

Indicates the result of an operation. More...

Inherits Object.

Public Member Functions

virtual System::String get_Description ()
 Contains status description More...
 
virtual int32_t get_StatusCode ()
 Contains status code More...
 
 CommandStatus (int32_t statusCode, System::String description)
 Initializes a new instance of the Status class. More...
 
int32_t GetHashCode () const override
 Serves as a hash function for a particular type. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Determines whether the specified object is equal to the current object. More...
 
System::String ToString () const override
 Returns a string that represents the current object. More...
 

Public Attributes

int32_t statusCodefield
 Contains status code More...
 
System::String descriptionfield
 Contains status description More...
 

Detailed Description

Indicates the result of an operation.

Constructor & Destructor Documentation

◆ CommandStatus()

Aspose::Email::Clients::CommandStatus::CommandStatus ( int32_t  statusCode,
System::String  description 
)

Initializes a new instance of the Status class.

Parameters
statusCodeContains status code
descriptionContains status description

Member Function Documentation

◆ Equals()

bool Aspose::Email::Clients::CommandStatus::Equals ( System::SharedPtr< System::Object >  obj)
override

Determines whether the specified object is equal to the current object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ get_Description()

virtual System::String Aspose::Email::Clients::CommandStatus::get_Description ( )
virtual

Contains status description

◆ get_StatusCode()

virtual int32_t Aspose::Email::Clients::CommandStatus::get_StatusCode ( )
virtual

Contains status code

◆ GetHashCode()

int32_t Aspose::Email::Clients::CommandStatus::GetHashCode ( ) const
override

Serves as a hash function for a particular type.

Returns
A hash code for the current Object.

◆ ToString()

System::String Aspose::Email::Clients::CommandStatus::ToString ( ) const
override

Returns a string that represents the current object.

Returns
A string that represents the current object.

Member Data Documentation

◆ descriptionfield

System::String Aspose::Email::Clients::CommandStatus::descriptionfield

Contains status description

◆ statusCodefield

int32_t Aspose::Email::Clients::CommandStatus::statusCodefield

Contains status code