Table of Contents

Class JsonServiceOperationInfo

Namespace
TimeCockpit.Data.JsonConverters
Assembly
TimeCockpit.Data.dll

Represents the base class for some JsonMessages

public class JsonServiceOperationInfo
Inheritance
Object
JsonServiceOperationInfo
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

ServiceOperation

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

reader JsonReader

The 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

writer JsonWriter

The writer.

jsonResult JsonServiceOperationInfo

The result of a REST query.