StaticHtmlActionResult Class

Definition

Generates an HTML-formatted System.Web.Http.IHttpActionResult from an embedded resource.

public class StaticHtmlActionResult : System.Web.Http.IHttpActionResult
type StaticHtmlActionResult = class
    interface IHttpActionResult
Public Class StaticHtmlActionResult
Implements IHttpActionResult
Inheritance
StaticHtmlActionResult
Implements
System.Web.Http.IHttpActionResult

Constructors

StaticHtmlActionResult(String, Object[])

Gets an embedded resource string from the calling assembly and returns it as HTML. Optionally uses Format(String, Object[]) to replace values in the resource.

Methods

ExecuteAsync(CancellationToken) System.Web.Http.IHttpActionResult.ExecuteAsync(System.Threading.CancellationToken)

Applies to