Class
HtmlResolvedResource
OfficeIMO.Html
Immutable bytes returned by an application-supplied HTML resource resolver.
Inheritance
- object
- HtmlResolvedResource
Usage
Explore 3 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.
Returned or exposed by 2
Accepted by parameters 1
- Method HtmlResourceSession.TryGet
Constructors
HtmlResolvedResource 2 overloads
public HtmlResolvedResource(byte[] bytes, string contentType) #Creates a resolved resource snapshot.
Parameters
- bytes byte[]
- contentType string
public HtmlResolvedResource(byte[] bytes, string contentType, Uri? finalUri, int redirectCount = 0) #Creates a resolved resource snapshot with optional redirect provenance. Network-backed resolvers should report the final URI and redirect count so archive and host policies can enforce their redirect boundary.
Parameters
- bytes byte[]
- contentType string
- finalUri System.Uri?
- redirectCount int = 0