Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

EmailMessageStore

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Implements
IDisposable
Modifiers sealed

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

Inheritance

  • Object
  • EmailMessageStore

Usage

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

Returned or exposed by

Methods

public Void Dispose() #
Returns: Void

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

public static EmailMessageStore Open(String path, CancellationToken cancellationToken = default) #
Returns: EmailMessageStore

Opens one archive. The scope owns its reader.

Parameters

path System.String requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1
public EmailMessageReadResult Read(EmailMessageQuery query = null, CancellationToken cancellationToken = default) #
Returns: EmailMessageReadResult

Reads messages while the explicit scope remains open.

Parameters

query OfficeIMO.Email.EmailMessageQuery = null optionalposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1

Properties

public String SourcePath { get; } #

Source archive path.