API Reference
Interface
IOfficeWorkflowPublicationGuard
Checks application ownership of a final workflow publication candidate.
Remarks
Called after artifact validation for each candidate, including numbered alternatives. Implementations must support calls from worker threads and honor cancellation. A false result rejects Fail/Replace publication and skips that candidate for Rename. Exceptions fail the operation. This point-in-time check does not lock filesystem identities.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ImageOcrWorkflowRequest.PublicationGuard
- Property OfficeInvoiceStorageWorkflowRequest.PublicationGuard
- Property OfficeProvenanceWorkflowRequest.PublicationGuard
- Property OfficeWorkflowRequest.PublicationGuard
- Property PdfAssemblyRequest.PublicationGuard
- Property PdfPageImageExportRequest.PublicationGuard
- Property PdfSearchableWorkflowRequest.PublicationGuard
- Property PdfSplitWorkflowRequest.PublicationGuard
Methods
public abstract ValueTask<Boolean> CanPublishAsync(String path, Boolean isDirectory, CancellationToken cancellationToken) #Returns:
ValueTask<Boolean>Returns whether a file or complete directory may be published at the given absolute path.
Parameters
- path System.String
- isDirectory System.Boolean
- cancellationToken System.Threading.CancellationToken