Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MhtmlRemoteResourceResponse

OfficeIMO.Mhtml

Namespace
OfficeIMO.Mhtml
Assembly
OfficeIMO.Mhtml
Source revision
3b680b1b6fb1 with working tree changes
Modifiers
sealed

One remote response containing either bytes or a redirect location.

Inheritance

  • object
  • MhtmlRemoteResourceResponse

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.

Constructors

public MhtmlRemoteResourceResponse(byte[] bytes, string contentType) #

Creates a successful resource response.

Parameters

bytes byte[] required
contentType string required

Methods

public static MhtmlRemoteResourceResponse Redirect(Uri location) #

Creates a redirect response. Relative locations are resolved against the requested URI.

Parameters

location System.Uri required

Properties

public byte[]? Bytes { get; } #

Response bytes, or null for a redirect.

public string ContentType { get; } #

Declared media type for a successful response.

public Uri? RedirectLocation { get; } #

Redirect location, or null for a successful response.