API Reference
Class
EmailMessageStore
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
- Method EmailMessageStore.Open
Methods
public Void Dispose() #Returns:
VoidCloses the archive. Returned message views remain usable while their source is unchanged.
public static EmailMessageStore Open(String path, CancellationToken cancellationToken = default) #Returns:
EmailMessageStoreOpens one archive. The scope owns its reader.
Parameters
- path System.String
- cancellationToken System.Threading.CancellationToken = default
public EmailMessageReadResult Read(EmailMessageQuery query = null, CancellationToken cancellationToken = default) #Returns:
EmailMessageReadResultReads messages while the explicit scope remains open.
Parameters
- query OfficeIMO.Email.EmailMessageQuery = null
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
Properties
public String SourcePath { get; } #Source archive path.