Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IEmailContentSource

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 with working tree changes
Modifiers
abstract

Supplies a fresh readable stream for content that should not be retained as a resident byte array. Future mailbox stores can implement this contract without leaking store-specific handles into the email model.

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 abstract Stream OpenRead() #

Opens a new readable stream. The caller owns and disposes the returned stream.

Returns

Stream
public abstract Task<Stream> OpenReadAsync(CancellationToken cancellationToken = default) #

Asynchronously opens a new readable stream. The caller owns and disposes the returned stream.

Parameters

cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<Stream>

Properties

public abstract long? Length { get; } #

Known decoded content length, or null when the source cannot determine it cheaply.