API Reference
Class
HtmlRenderArchiveResult
Completed deterministic HTML page archive and its typed manifest.
Inheritance
- Object
- HtmlRenderArchiveResult
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
- Method HtmlRenderArchiveResult.Save
- Method HtmlRenderArchiveResult.SaveAsync
- Extension method HtmlRenderResult.ExportArchive
- Method HtmlRenderResultArchiveExtensions.ExportArchive
Methods
public HtmlRenderArchiveResult Save(Stream stream) #Returns:
HtmlRenderArchiveResultWrites the ZIP payload to a caller-owned stream without closing it.
Parameters
- stream System.IO.Stream
public async Task<HtmlRenderArchiveResult> SaveAsync(Stream stream, CancellationToken cancellationToken = default) #Returns:
Task<HtmlRenderArchiveResult>Writes the ZIP payload asynchronously without closing the caller-owned stream.
Parameters
- stream System.IO.Stream
- cancellationToken System.Threading.CancellationToken = default