共用方式為


JobStateConverter Class

Definition

Defines values for JobState.

public sealed class JobStateConverter : Newtonsoft.Json.JsonConverter
type JobStateConverter = class
    inherit JsonConverter
Public NotInheritable Class JobStateConverter
Inherits JsonConverter
Inheritance
Newtonsoft.Json.JsonConverter
JobStateConverter

Constructors

JobStateConverter()

Methods

CanConvert(Type)

Returns if objectType can be converted to JobState by the converter.

ReadJson(JsonReader, Type, Object, JsonSerializer)

Overrides ReadJson and converts token to JobState.

WriteJson(JsonWriter, Object, JsonSerializer)

Overriding WriteJson for JobState for serialization.

Applies to