Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailMessageStore

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
3b680b1b6fb1 with working tree changes
Implements
IDisposable
Modifiers
sealed

Explicit scope for repeated message reads from one open local archive.

Inheritance

  • object
  • EmailMessageStore

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

public void Dispose() #

Closes the archive. Returned message views remain usable while their source is unchanged.

public static EmailMessageStore Open(string path, CancellationToken cancellationToken = default) #

Opens one archive. The scope owns its reader.

Parameters

path string required
cancellationToken System.Threading.CancellationToken = default optional
public EmailMessageReadResult Read(EmailMessageQuery? query = null, CancellationToken cancellationToken = default) #

Reads messages while the explicit scope remains open.

Parameters

query OfficeIMO.Email.EmailMessageQuery? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Properties

public string SourcePath { get; } #

Source archive path.