![]() | Response |
The ResponseWrapT type exposes the following members.
Name | Description | |
---|---|---|
![]() | ResponseWrapT | Initializes a new instance of the ResponseWrapT class |
![]() | ResponseWrapT(T) | Initializes a new instance of the ResponseWrapT class |
![]() | ResponseWrapT(Int32, String, String) | Initializes a new instance of the ResponseWrapT class |
Name | Description | |
---|---|---|
![]() | Code | An error code which is required when HasError is True. The value should be unique for different types of error conditions. |
![]() | Data | Arbitrary data expected to be returned when HasError is False. The value may be a scalar value such as a number or string, or it may be a class which will generate JSON in different shapes according to the class type. |
![]() | Detail | A optional error details message which may be present when HasError is True. |
![]() | HasError | A flag indicating if the response is an error or not. If the value is True then values are expected in Code and Message to describe the error condition. |
![]() | Message | A summary error message which is required when HasError is True. |