Aspose::Email::Storage::Pst::MessageAddedEventArgs Class Reference

Provides data for the FolderInfo::MessageAdded event More...

Inherits EventArgs.

Public Member Functions

System::SharedPtr< Aspose::Email::Mapi::MapiMessageget_Message () const
 Gets the message that has been added. More...
 
System::String get_EntryId () const
 Gets the string that represents the EntryId of the added message. More...
 
 MessageAddedEventArgs (System::String entryId, System::SharedPtr< Aspose::Email::Mapi::MapiMessage > message)
 Initializes a new instance of the MessageAddedEventArgs class. More...
 

Detailed Description

Provides data for the FolderInfo::MessageAdded event

Constructor & Destructor Documentation

◆ MessageAddedEventArgs()

Aspose::Email::Storage::Pst::MessageAddedEventArgs::MessageAddedEventArgs ( System::String  entryId,
System::SharedPtr< Aspose::Email::Mapi::MapiMessage message 
)

Initializes a new instance of the MessageAddedEventArgs class.

Parameters
entryIdThe entry id.
messageThe message.

Member Function Documentation

◆ get_EntryId()

System::String Aspose::Email::Storage::Pst::MessageAddedEventArgs::get_EntryId ( ) const

Gets the string that represents the EntryId of the added message.

The entry id.

◆ get_Message()

System::SharedPtr<Aspose::Email::Mapi::MapiMessage> Aspose::Email::Storage::Pst::MessageAddedEventArgs::get_Message ( ) const

Gets the message that has been added.

The message.