ResultWithStatus<TResponse> class
namespace: Serenity.Services assembly: Serenity.Net.Web
An action result type containing a object with status code
public class ResultWithStatus<TResponse> : StatusCodeResult
parameter | description |
---|---|
TResponse | Response data type |
Public Members
name | description |
---|---|
ResultWithStatus(…) | Creates a new instance of the class |
ContentEncoding { get; set; } | Content encoding |
ContentType { get; set; } | Content type |
Data { get; set; } | The data |
Formatting { get; set; } | Formatting |
SerializerSettings { get; set; } | JSON serializer settings |
override ExecuteResult(…) |
See Also
- Source: ResultWithStatus.cs