API Reference
OfficeEmbeddedPayloadInspection
One bounded inert payload inventory and cumulative read operation.
Inheritance
- Object
- OfficeEmbeddedPayloadInspection
Remarks
Keep the native document alive while requesting new reads. Each returned read-only stream is a complete detached copy owned by the caller and survives disposal of the native document and this session. Payloads are never executed and external targets are never resolved.
Methods
public Void Dispose() #VoidEnds new-read access. Already-returned detached streams remain usable.
public Stream OpenRead(Int32 ordinal, CancellationToken cancellationToken = default) #StreamReads one complete payload within the snapshotted member and cumulative operation ceilings.
Parameters
- ordinal System.Int32
- cancellationToken System.Threading.CancellationToken = default
Exceptions
OfficeInspectionResourceLimitException– A member, aggregate payload, or cumulative read ceiling is reached.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public IReadOnlyList<OfficeEmbeddedPayloadInfo> Payloads { get; } #Ordered native descriptors. Ordinals address this session only; identities remain native owner/relationship or source-profile identities.
public Int64 ReadBytes { get; } #Actual decoded bytes consumed by completed or failed reads and requested hashes.