Click or drag to resize

BaseControllerCreateResponse Method

Creates an HttpResponseMessage response for the specified object. Typically expects a result object implementing the IResponseMessage interface in which the object will be used to create its own response. Any other object will be give a status of OK.

Namespace:  NetQuarry.Web.API
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
protected HttpResponseMessage CreateResponse(
	Object result
)

Parameters

result
Type: SystemObject
The object to include in the response.

Return Value

Type: HttpResponseMessage
The newly created response object.
See Also