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

Indicates the result of an operation. More...

Inherits Object.

Public Member Functions

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

Public Attributes

int32_t statusCodefield
 
System::String descriptionfield
 

Detailed Description

Indicates the result of an operation.

Constructor & Destructor Documentation

◆ CommandStatus()

ASPOSE_EMAIL_SHARED_API 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()

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

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 ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Clients::CommandStatus::get_Description ( )
virtual

Contains status description

◆ get_StatusCode()

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

Contains status code

◆ GetHashCode()

virtual ASPOSE_EMAIL_SHARED_API int32_t Aspose::Email::Clients::CommandStatus::GetHashCode ( ) const
virtual

Serves as a hash function for a particular type.

Returns
A hash code for the current Object.

◆ ToString() [1/2]

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Clients::CommandStatus::ToString ( )
virtual

Returns a string that represents the current object.

Returns
A string that represents the current object.

◆ ToString() [2/2]

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

Member Data Documentation

◆ descriptionfield

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

◆ statusCodefield

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