Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeWorkflowOutputRecoveryStore

OfficeIMO.Workflows

Namespace
OfficeIMO.Workflows
Assembly
OfficeIMO.Workflows
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Stores bounded, private recovery artifacts before non-atomic provider publication.

Inheritance

  • object
  • OfficeWorkflowOutputRecoveryStore

Usage

Explore 2 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

Accepted by parameters 1

Constructors

public OfficeWorkflowOutputRecoveryStore(string directory, long maximumRetainedBytes = 1073741824) #

Creates a store under a host-selected local directory. Admission is bounded across processes.

Parameters

directory string required
maximumRetainedBytes long = 1073741824 optional

Methods

public void Discard(OfficeWorkflowOutputRecovery recovery) #

Deletes a recovery copy after the user explicitly discards it. The provider destination is never modified.

Parameters

recovery OfficeIMO.Workflows.OfficeWorkflowOutputRecovery required
public IReadOnlyList<OfficeWorkflowOutputRecovery> GetRecoveries() #

Lists available records, excluding active publications and malformed records. Contents are verified on demand.

Returns

IReadOnlyList<OfficeWorkflowOutputRecovery>
public async Task VerifyAsync(OfficeWorkflowOutputRecovery recovery, CancellationToken token = default) #

Verifies the current local copy against its stored length and fingerprint before a host opens it.

Parameters

recovery OfficeIMO.Workflows.OfficeWorkflowOutputRecovery required
token System.Threading.CancellationToken = default optional

Returns

Task

Properties

public string DirectoryPath { get; } #

Gets the local storage root.

public long MaximumRetainedBytes { get; } #

Gets the aggregate artifact admission limit.