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
)
Protected Function CreateResponse (
result As Object
) As HttpResponseMessage
Parameters
- result
- Type: SystemObject
The object to include in the response.
Return Value
Type:
HttpResponseMessageThe newly created response object.
See Also