Aspose::Email::Storage::Nsf::NotesStorageFacility Class Reference

The Notes Storage Facility (NSF) database file is used by (IBM) Lotus Notes and Domino to store different kind of objects like e-mail, appointments and documents, but also application forms and views. More...

Inherits IDisposable.

Public Member Functions

 NotesStorageFacility (System::String fileName)
 Initializes a new instance of the NotesStorageFacility class. More...
 
 NotesStorageFacility (System::SharedPtr< System::IO::Stream > stream)
 Initializes a new instance of the NotesStorageFacility class. More...
 
 NotesStorageFacility (System::String fileName, System::SharedPtr< NsfLoadOptions > options)
 Initializes a new instance of the NotesStorageFacility class. More...
 
 NotesStorageFacility (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< NsfLoadOptions > options)
 Initializes a new instance of the NotesStorageFacility class. More...
 
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage > > > EnumerateMessages ()
 Exposes the enumerator, which supports an iteration of messages in storage. More...
 
void Dispose () override
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Protected Member Functions

void Dispose (bool disposing)
 Releases unmanaged and - optionally - managed resources. More...
 

Detailed Description

The Notes Storage Facility (NSF) database file is used by (IBM) Lotus Notes and Domino to store different kind of objects like e-mail, appointments and documents, but also application forms and views.

Constructor & Destructor Documentation

◆ NotesStorageFacility() [1/4]

Aspose::Email::Storage::Nsf::NotesStorageFacility::NotesStorageFacility ( System::String  fileName)

Initializes a new instance of the NotesStorageFacility class.

Parameters
fileNameName of the file.
Exceptions
ArgumentNullExceptionfileName - File name can not be null or empty

◆ NotesStorageFacility() [2/4]

Aspose::Email::Storage::Nsf::NotesStorageFacility::NotesStorageFacility ( System::SharedPtr< System::IO::Stream >  stream)

Initializes a new instance of the NotesStorageFacility class.

Parameters
streamThe stream.
Exceptions
ArgumentNullExceptionstream - Source stream can not be null

◆ NotesStorageFacility() [3/4]

Aspose::Email::Storage::Nsf::NotesStorageFacility::NotesStorageFacility ( System::String  fileName,
System::SharedPtr< NsfLoadOptions options 
)

Initializes a new instance of the NotesStorageFacility class.

Parameters
fileNameName of the file.
optionsAdditional load options.
Exceptions
ArgumentNullExceptionfileName - File name can not be null or empty

◆ NotesStorageFacility() [4/4]

Aspose::Email::Storage::Nsf::NotesStorageFacility::NotesStorageFacility ( System::SharedPtr< System::IO::Stream >  stream,
System::SharedPtr< NsfLoadOptions options 
)

Initializes a new instance of the NotesStorageFacility class.

Parameters
streamThe stream.
optionsAdditional load options.
Exceptions
ArgumentNullExceptionstream - Source stream can not be null

Member Function Documentation

◆ Dispose() [1/2]

void Aspose::Email::Storage::Nsf::NotesStorageFacility::Dispose ( )
override

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

◆ Dispose() [2/2]

void Aspose::Email::Storage::Nsf::NotesStorageFacility::Dispose ( bool  disposing)
protected

Releases unmanaged and - optionally - managed resources.

Parameters
disposingtrue to release both managed and unmanaged resources; false to release only unmanaged resources.

◆ EnumerateMessages()

System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<MailMessage> > > Aspose::Email::Storage::Nsf::NotesStorageFacility::EnumerateMessages ( )

Exposes the enumerator, which supports an iteration of messages in storage.

Returns
System::Collections::Generic::IEnumerable<T>, that represents an enumerator that iterates through a messages in storage.