Class
OfficeWorkflowOutputRecoveryStore
OfficeIMO.Workflows
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
- maximumRetainedBytes long = 1073741824
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
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
- token System.Threading.CancellationToken = default
Returns
Task