Aspose::Email::Clients::AsyncCommandResultEventArgs Class Reference

AsyncCommandResultEventArgs is containing event data. More...

Inherits EventArgs.

Public Member Functions

AsyncCommandResults get_Result () const
 Operation state More...
 
void set_Result (AsyncCommandResults value)
 Operation state More...
 
System::Exception get_Error () const
 Operation error More...
 
void set_Error (System::Exception value)
 Operation error More...
 
 AsyncCommandResultEventArgs ()
 Initializes a new instance of the AsyncCommandResultEventArgs class. More...
 
 AsyncCommandResultEventArgs (AsyncCommandResults result)
 Initializes a new instance of the AsyncCommandResultEventArgs class. More...
 
 AsyncCommandResultEventArgs (AsyncCommandResults result, System::Exception error)
 Initializes a new instance of the AsyncCommandResultEventArgs class. More...
 

Detailed Description

AsyncCommandResultEventArgs is containing event data.

Constructor & Destructor Documentation

◆ AsyncCommandResultEventArgs() [1/3]

Aspose::Email::Clients::AsyncCommandResultEventArgs::AsyncCommandResultEventArgs ( )

Initializes a new instance of the AsyncCommandResultEventArgs class.

◆ AsyncCommandResultEventArgs() [2/3]

Aspose::Email::Clients::AsyncCommandResultEventArgs::AsyncCommandResultEventArgs ( AsyncCommandResults  result)

Initializes a new instance of the AsyncCommandResultEventArgs class.

Parameters
resultContains operation result

◆ AsyncCommandResultEventArgs() [3/3]

Aspose::Email::Clients::AsyncCommandResultEventArgs::AsyncCommandResultEventArgs ( AsyncCommandResults  result,
System::Exception  error 
)

Initializes a new instance of the AsyncCommandResultEventArgs class.

Parameters
resultContains operation state
errorContains operation error

Member Function Documentation

◆ get_Error()

System::Exception Aspose::Email::Clients::AsyncCommandResultEventArgs::get_Error ( ) const

Operation error

◆ get_Result()

AsyncCommandResults Aspose::Email::Clients::AsyncCommandResultEventArgs::get_Result ( ) const

Operation state

◆ set_Error()

void Aspose::Email::Clients::AsyncCommandResultEventArgs::set_Error ( System::Exception  value)

Operation error

◆ set_Result()

void Aspose::Email::Clients::AsyncCommandResultEventArgs::set_Result ( AsyncCommandResults  value)

Operation state