API Reference

Class

MhtmlRemoteResourceResponse

Namespace OfficeIMO.Mhtml
Assembly OfficeIMO.Mhtml
Modifiers sealed

One remote response containing either bytes or a redirect location.

Inheritance

  • Object
  • MhtmlRemoteResourceResponse

Usage

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 System.Byte[] requiredposition: 0
contentType System.String requiredposition: 1

Methods

public static MhtmlRemoteResourceResponse Redirect(Uri location) #
Returns: MhtmlRemoteResourceResponse

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

Parameters

location System.Uri requiredposition: 0

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.