Export (0) Print
Expand All

VoidResultConverter.Convert Method

Converts the created response from actions that do not return a value.

Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

public HttpResponseMessage Convert(
	HttpControllerContext controllerContext,
	Object actionResult
)

Parameters

controllerContext
Type: System.Web.Http.Controllers.HttpControllerContext

The context of the controller.

actionResult
Type: System.Object

The result of the action.

Return Value

Type: HttpResponseMessage
The converted response.

Implements

IActionResultConverter.Convert(HttpControllerContext, Object)
Show:
© 2014 Microsoft