API Reference
Class
OfficeWorkflowStreamInput
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.
Returned or exposed by
- Property ImageOcrWorkflowRequest.InputStream
- Property OfficeInvoiceStorageWorkflowRequest.InputStream
- Property OfficeWorkflowDirectoryEntry.Input
- Property OfficeWorkflowProtectedSource.InputStream
- Property OfficeWorkflowRequest.ComparisonStream
- Property OfficeWorkflowRequest.InputStream
- Property PdfAssemblyRequest.SourceStreams
- Property PdfPageImageExportRequest.InputStream
- Property PdfSearchableWorkflowRequest.InputStream
- Property PdfSplitWorkflowRequest.InputStream
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
- The provider's display filename, including its format extension.
- openRead System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{System.IO.Stream}}
- Opens the selected document with the provider's permission scope.
- expectedSha256 System.String = null
- Optional hexadecimal SHA-256 captured when the input was selected.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.