Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeWorkflowStreamInput

Namespace OfficeIMO.Workflows
Assembly OfficeIMO.Workflows
Modifiers sealed

A reopenable provider input whose original location remains in the workflow request.

Inheritance

  • Object
  • OfficeWorkflowStreamInput

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public OfficeWorkflowStreamInput(String name, Func<CancellationToken, Task<Stream>> openRead, String expectedSha256 = null) #

Creates an input. Each invocation must return a new readable stream; the runner closes it.

Parameters

name System.String requiredposition: 0
The provider's display filename, including its format extension.
openRead System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{System.IO.Stream}} requiredposition: 1
Opens the selected document with the provider's permission scope.
expectedSha256 System.String = null optionalposition: 2
Optional hexadecimal SHA-256 captured when the input was selected.

Properties

public String Name { get; } #

Gets the selected filename. This name determines format routing, never a staging directory.

public Func<CancellationToken, Task<Stream>> OpenRead { get; } #

Gets the stream factory; the runner invokes it again to verify source contents before publication.

public String ExpectedSha256 { get; } #

Gets the optional fingerprint captured when the input was selected.