StaticHtmlActionResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| ExecuteAsync(CancellationToken) | System.Web.Http.IHttpActionResult.ExecuteAsync(System.Threading.CancellationToken) |