ResponseMessage Class

DCSoft.DBUtilityGeneric

ResponseMessage Class
服务返回对象
Inheritance Hierarchy
SystemObject  DCSoft.Utility.WebResponseMessage

Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public class ResponseMessage

The ResponseMessage type exposes the following members.

Constructors
  NameDescription
Public methodResponseMessage
构造方法
Public methodResponseMessage(Int32)
构造方法 返回状态值
Public methodResponseMessage(Int32, Object)
构造方法
Top
Methods
  NameDescription
Public methodStatic memberDefault
响应消息封装类
Public methodEquals (Inherited from Object.)
Public methodStatic memberError
响应消息封装类
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberSuccess
响应消息封装类
Public methodToJson
json 序列化
Public methodToJson(JsonSerializerSettings)
json 序列化
Public methodToString (Inherited from Object.)
Top
Properties
  NameDescription
Public propertymessage
正常返回实际需要的内容;错误时返回错误信息
Public propertystatus
返回状态值,0代表正常情况,其他自定
Top
See Also