Aspose::Email::Clients::Imap::ImapMonitoringEventArgs Class Reference

Class contains monitoring event data. More...

Inherits EventArgs.

Public Member Functions

System::String get_FolderName () const
 Gets specified folder for monitoring operation. More...
 
System::ArrayPtr< System::SharedPtr< ImapMessageInfo > > get_NewMessages () const
 Gets new messages More...
 
System::ArrayPtr< System::SharedPtr< ImapMessageInfo > > get_DeletedMessages () const
 Gets deleted messages More...
 
 ImapMonitoringEventArgs (System::String folderName, System::ArrayPtr< System::SharedPtr< ImapMessageInfo >> newMessages, System::ArrayPtr< System::SharedPtr< ImapMessageInfo >> deletedMessages)
 Initializes a new instance of the ImapMonitoringEventArgs class More...
 

Detailed Description

Class contains monitoring event data.

Constructor & Destructor Documentation

◆ ImapMonitoringEventArgs()

Aspose::Email::Clients::Imap::ImapMonitoringEventArgs::ImapMonitoringEventArgs ( System::String  folderName,
System::ArrayPtr< System::SharedPtr< ImapMessageInfo >>  newMessages,
System::ArrayPtr< System::SharedPtr< ImapMessageInfo >>  deletedMessages 
)

Initializes a new instance of the ImapMonitoringEventArgs class

Parameters
folderNamespecified folder for monitoring operation
newMessagesContains information about new messages
deletedMessagesContains information about deleted messages

Member Function Documentation

◆ get_DeletedMessages()

System::ArrayPtr<System::SharedPtr<ImapMessageInfo> > Aspose::Email::Clients::Imap::ImapMonitoringEventArgs::get_DeletedMessages ( ) const

Gets deleted messages

◆ get_FolderName()

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

Gets specified folder for monitoring operation.

◆ get_NewMessages()

System::ArrayPtr<System::SharedPtr<ImapMessageInfo> > Aspose::Email::Clients::Imap::ImapMonitoringEventArgs::get_NewMessages ( ) const

Gets new messages