Create a Response containing an object that will be serialized automatically (based upon content-type negotiation) to either XML or JSON.

Syntax

finwsHttpRequest.CreateResponse(statusCode, [content])

Parameters

NameTypeOptionalByRefDescription
statusCode HttpStatusCode The HTTP Status Code.
content Object Optional The Content as a serialisable object. If omitted, a value of Nothing is assumed.

Return Value

finwsHttpResponse
Member of:
finwsHttpRequest
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0