# OfficeWorkflowConverter

Converts a captured input into a bounded output stream. Streams remain owned by the runner.

Delegate 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Base**

`MulticastDelegate`

**Implements**

`ICloneable` `ISerializable`

**Modifiers**

sealed

Converts a captured input into a bounded output stream. Streams remain owned by the runner.

## Inheritance

- MulticastDelegate
- OfficeWorkflowConverter

## Remarks

The delegate must honor cancellation and leave both streams open. Publication and output reopen validation belong to the runner. Throw OfficeConversionException with the available report to retain evidence when output serialization fails. An [OfficeWorkflowConversionEvidence](/api/workflows/officeimo-workflows-officeworkflowconversionevidence/) report also retains its compact facts; an inner cancellation exception preserves cancellation classification.

## Usage

Explore 1 API references to this type

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

### Accepted by parameters 1

- Constructor [OfficeWorkflowConversionRegistration.OfficeWorkflowConversionRegistration](/api/workflows/officeimo-workflows-officeworkflowconversionregistration/#constructor-ctor-string-officeimo-workflows-officeworkflowconverter) parameter `converter`

Filter members 

Show inherited

## Constructors

`public OfficeWorkflowConverter(object object, nint method)` [#](#constructor-ctor-object-intptr)

Parameters

**object object required**

**method nint required**

## Methods

`public virtual IAsyncResult BeginInvoke(Stream input, Stream output, OfficeOperationLimits limits, CancellationToken cancellationToken, AsyncCallback callback, object object)` [#](#method-begininvoke-stream-stream-officeoperationlimits-cancellationtoken-asynccallback-object)

Parameters

**input Stream required**

**output Stream required**

**limits OfficeOperationLimits required**

**cancellationToken CancellationToken required**

**callback AsyncCallback required**

**object object required**

Returns

`IAsyncResult`

`public virtual OfficeWorkflowConversionEvidence EndInvoke(IAsyncResult result)` [#](#method-endinvoke-iasyncresult)

Parameters

**result IAsyncResult required**

Returns

`OfficeWorkflowConversionEvidence`

`public virtual OfficeWorkflowConversionEvidence Invoke(Stream input, Stream output, OfficeOperationLimits limits, CancellationToken cancellationToken)` [#](#method-invoke-stream-stream-officeoperationlimits-cancellationtoken)

Parameters

**input Stream required**

**output Stream required**

**limits OfficeOperationLimits required**

**cancellationToken CancellationToken required**

Returns

`OfficeWorkflowConversionEvidence`

## Inherited Methods

`public virtual object Clone()` [#](#method-clone)

Inherited from Delegate

Returns

`object`

`public object? DynamicInvoke(params object?[]? args)` [#](#method-dynamicinvoke-object)

Inherited from Delegate

Parameters

**args object?[]? required**

Returns

`object?`

`public override sealed bool Equals(object? obj)` [#](#method-equals-object)

Inherited from MulticastDelegate

Parameters

**obj object? required**

Returns

`bool`

`public override sealed int GetHashCode()` [#](#method-gethashcode)

Inherited from MulticastDelegate

Returns

`int`

`public override sealed Delegate[] GetInvocationList()` [#](#method-getinvocationlist)

Inherited from MulticastDelegate

Returns

`Delegate[]`

`public override void GetObjectData(SerializationInfo info, StreamingContext context)` [#](#method-getobjectdata-serializationinfo-streamingcontext)

Inherited from MulticastDelegate

`Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")` `EditorBrowsable(1)`

Parameters

**info SerializationInfo required**

**context StreamingContext required**

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Inherited Properties

`public object? Target { get; }` [#](#property-target)

Inherited from Delegate

`public MethodInfo Method { get; }` [#](#property-method)

Inherited from Delegate

<!-- PowerForge markdown artifact sha256:8653F9A3D128E486E6C36BA5C7922229D5CB5BDCC20059ACE5C2E6F3EADAFD58 -->
