Click or drag to resize

ResponseError Class

[This is preliminary documentation and is subject to change.]

JSON RPC Error contract object.
Inheritance Hierarchy
SystemObject
  JsonRpc.MessagesResponseError

Namespace:  JsonRpc.Messages
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
[JsonObjectAttribute(MemberSerialization.OptIn)]
public class ResponseError

The ResponseError type exposes the following members.

Constructors
  NameDescription
Public methodResponseError
Initializes a new instance of the ResponseError class
Public methodResponseError(Int32, String)
Initializes a new instance of the ResponseError class
Public methodResponseError(JsonRpcErrorCode, String)
Initializes a new instance of the ResponseError class
Public methodResponseError(Int32, String, Object)
Initializes a new instance of the ResponseError class
Public methodResponseError(JsonRpcErrorCode, String, Object)
Initializes a new instance of the ResponseError class
Top
Properties
  NameDescription
Public propertyCode
Public propertyData
A JToken representing parameters for the method.
Public propertyMessage
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromException(Exception)
Instantiates a new ResponseError from an existing Exception.
Public methodStatic memberFromException(ClrExceptionErrorData)
Instantiates a new ResponseError from an existing ClrExceptionErrorData.
Public methodStatic memberFromException(Exception, Boolean)
Instantiates a new ResponseError from an existing Exception.
Public methodGetData(Type)
Deserializes Data into the object of specified type.
Public methodGetDataT
Deserializes Data into the object of specified type.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetData
Serializes the specified object into JSON Data.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also