OfficeEmbeddedPayloadInspection
OfficeIMO
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() #Ends new-read access. Already-returned detached streams remain usable.
public Stream OpenRead(int ordinal, CancellationToken cancellationToken = default) #Reads one complete payload within the snapshotted member and cumulative operation ceilings.
Parameters
- ordinal int
- cancellationToken System.Threading.CancellationToken = default
Returns
StreamExceptions
OfficeInspectionResourceLimitException– A member, aggregate payload, or cumulative read ceiling is reached.
Inherited Methods
Properties
public IReadOnlyList<OfficeEmbeddedPayloadInfo> Payloads { get; } #Ordered native descriptors. Ordinals address this session only; identities remain native owner/relationship or source-profile identities.
public long ReadBytes { get; } #Actual decoded bytes consumed by completed or failed reads and requested hashes.