Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Interface

IOfficeWorkflowStagingGuard

Namespace OfficeIMO.Workflows
Assembly OfficeIMO.Workflows
Modifiers abstract

Optional host policy checked before creating or writing a local destination staging directory.

Remarks

Implement alongside IOfficeWorkflowPublicationGuard when the host limits writable roots. Checks run before and after directory creation; they do not lock filesystem identities against concurrent changes.

Methods

public abstract ValueTask EnsureStagingDirectoryAllowedAsync(String directory, CancellationToken cancellationToken) #
Returns: ValueTask

Throws when staging in the absolute directory is unauthorized. Must honor cancellation.

Parameters

directory System.String requiredposition: 0
cancellationToken System.Threading.CancellationToken requiredposition: 1