Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

EmailStoreHtmlBodyTextProjector

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email.Html
Implements
IEmailStoreBodyTextProjector
Modifiers sealed

Network-free semantic-search body projection through the shared email/HTML owner.

Inheritance

  • Object
  • EmailStoreHtmlBodyTextProjector

Constructors

public EmailStoreHtmlBodyTextProjector(EmailConcealedTextPolicy policy = Preserve, Action<EmailBodyContentSafetyReport> inspectionObserver = null) #

Creates a bounded projector. The optional observer receives advisory evidence without source text.

Parameters

policy OfficeIMO.Email.EmailConcealedTextPolicy = Preserve optionalposition: 0
inspectionObserver System.Action{OfficeIMO.Email.EmailBodyContentSafetyReport} = null optionalposition: 1

Methods

public String Project(EmailDocument document, EmailStoreContentSearchFields bodyField, Int32 maxCharacters, CancellationToken cancellationToken) #
Returns: String

Projects one requested body field without modifying the message or opening attachments. The session enforces the returned-character bound; implementations must bound parsing and observe cancellation.

Parameters

document OfficeIMO.Email.EmailDocument requiredposition: 0
bodyField OfficeIMO.Email.Store.EmailStoreContentSearchFields requiredposition: 1
maxCharacters System.Int32 requiredposition: 2
cancellationToken System.Threading.CancellationToken requiredposition: 3

Properties

public String Identity { get; } #

Stable identity of the projection policy and version. Checkpoints are bound to this identity.