API Reference
Interface
IOfficeWorkflowRunner
Runs typed local OfficeIMO document workflows for desktop, command-line, and service hosts.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Methods
public abstract Task<OfficeWorkflowResult> RunAsync(OfficeWorkflowRequest request, IProgress<OfficeWorkflowProgress> progress = null, CancellationToken cancellationToken = default) #Returns:
Task<OfficeWorkflowResult>Runs one workflow request.
Parameters
- request OfficeIMO.Workflows.OfficeWorkflowRequest
- progress System.IProgress{OfficeIMO.Workflows.OfficeWorkflowProgress} = null
- cancellationToken System.Threading.CancellationToken = default
public abstract Task<IReadOnlyList<OfficeWorkflowResult>> RunBatchAsync(IEnumerable<OfficeWorkflowRequest> requests, IProgress<OfficeWorkflowProgress> progress = null, CancellationToken cancellationToken = default) #Returns:
Task<IReadOnlyList<OfficeWorkflowResult>>Snapshots and runs a bounded batch sequentially. Implementations reject more than MaximumBatchRequestCount requests.
Parameters
- requests System.Collections.Generic.IEnumerable{OfficeIMO.Workflows.OfficeWorkflowRequest}
- progress System.IProgress{OfficeIMO.Workflows.OfficeWorkflowProgress} = null
- cancellationToken System.Threading.CancellationToken = default