HtmlActionResult Constructor (HttpConfiguration^, HttpRequestMessage^, HttpRequestContext^, String^)
Initializes a new HtmlActionResult with a given viewName.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
public:
HtmlActionResult(
HttpConfiguration^ config,
HttpRequestMessage^ request,
HttpRequestContext^ context,
String^ viewName
)
Parameters
- config
-
Type:
System.Web.Http::HttpConfiguration^
The current configuration used to resolve the IDocumentationProvider and ITemplateServiceProvider. The latter provides the Razor template service which is used to create the view.
- request
-
Type:
System.Net.Http::HttpRequestMessage^
The current HttpRequestMessage.
- context
-
Type:
System.Web.Http.Controllers::HttpRequestContext^
The current HttpRequestContext.
- viewName
-
Type:
System::String^
The name of the template view to use, for example "/Help/Index". The exact path depends on the resolution done by the IContentProvider.
Show: