Aspose::Email::Clients::Imap::ImapMonitoringErrorEventArgs Class Reference

Class contains monitoring error event data. More...

Inherits EventArgs.

Public Member Functions

System::String get_FolderName () const
 Specified folder for monitoring operation. More...
 
System::Exception get_Error () const
 IMAP monitoring error. More...
 
System::SharedPtr< IImapMonitoringStateget_MonitoringState () const
 Holds folder monitoring state. This object can be used to resume folder monitoring from place where it stopped when error occured. Use ImapClient::ResumeMonitoring method. More...
 
 ImapMonitoringErrorEventArgs (System::String folderName, System::Exception error, System::SharedPtr< ImapMessageInfoCollection > monitoringStateMessages)
 

Friends

class Aspose::Email::Clients::Imap::Commands::IdleGrCommand
 

Detailed Description

Class contains monitoring error event data.

Constructor & Destructor Documentation

◆ ImapMonitoringErrorEventArgs()

Aspose::Email::Clients::Imap::ImapMonitoringErrorEventArgs::ImapMonitoringErrorEventArgs ( System::String  folderName,
System::Exception  error,
System::SharedPtr< ImapMessageInfoCollection monitoringStateMessages 
)

Member Function Documentation

◆ get_Error()

System::Exception Aspose::Email::Clients::Imap::ImapMonitoringErrorEventArgs::get_Error ( ) const

IMAP monitoring error.

◆ get_FolderName()

System::String Aspose::Email::Clients::Imap::ImapMonitoringErrorEventArgs::get_FolderName ( ) const

Specified folder for monitoring operation.

◆ get_MonitoringState()

System::SharedPtr<IImapMonitoringState> Aspose::Email::Clients::Imap::ImapMonitoringErrorEventArgs::get_MonitoringState ( ) const

Holds folder monitoring state. This object can be used to resume folder monitoring from place where it stopped when error occured. Use ImapClient::ResumeMonitoring method.

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Imap::Commands::IdleGrCommand

friend class Aspose::Email::Clients::Imap::Commands::IdleGrCommand
friend