Class JsonServiceOperationInfo
- Namespace
- TimeCockpit.Data.JsonConverters
- Assembly
- TimeCockpit.Data.dll
Represents the base class for some JsonMessages
public class JsonServiceOperationInfo
- Inheritance
-
ObjectJsonServiceOperationInfo
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
JsonServiceOperationInfo()
public JsonServiceOperationInfo()
Properties
ServiceOperation
Gets or sets the service operation.
public ServiceOperation ServiceOperation { get; set; }
Property Value
StatusCode
Gets or sets the status code that would have been sent by the client.
public int StatusCode { get; set; }
Property Value
- Int32
Methods
Read(JsonReader)
Reads an instance of JsonErrorMessage that is serialized in Json
public static JsonServiceOperationInfo Read(JsonReader reader)
Parameters
readerJsonReaderThe reader that is used to read the Json string.
Returns
- JsonServiceOperationInfo
an instance of JsonErrorMessage
Write(JsonWriter, JsonServiceOperationInfo)
Writes the json.
public static void Write(JsonWriter writer, JsonServiceOperationInfo jsonResult)
Parameters
writerJsonWriterThe writer.
jsonResultJsonServiceOperationInfoThe result of a REST query.