Click or drag to resize
ServiceResponseTData Class
Generic service response
Inheritance Hierarchy
SystemObject
  CMS.WebServicesServiceResponse
    CMS.WebServicesServiceResponseTData

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 12.0.0
Syntax
C#
public class ServiceResponse<TData> : ServiceResponse

Type Parameters

TData
Type of payload

The ServiceResponseTData type exposes the following members.

Constructors
  NameDescription
Public methodServiceResponseTData
Default constructor
Public methodServiceResponseTData(TData)
Parametric constructor for OK cases
Public methodServiceResponseTData(ResponseStatusEnum)
Parametric constructor for status response only
Public methodServiceResponseTData(ServiceResponse)
Copy constructor
Public methodServiceResponseTData(ResponseStatusEnum, String)
Parametric constructor for error cases
Public methodServiceResponseTData(ResponseStatusEnum, String, TData)
Parametric constructor for error cases
Top
Properties
  NameDescription
Public propertyData
Payload
Public propertyScreenLockInterval
ScreenLock interval
(Inherited from ServiceResponse.)
Public propertyStatusCode
Status code
(Inherited from ServiceResponse.)
Public propertyStatusMessage
Status message
(Inherited from ServiceResponse.)
Top
See Also