Table of Contents

Class TransientFaultExceptionConverter

Namespace
Cuemon.Extensions.Text.Json.Converters
Assembly
Cuemon.Extensions.Text.Json.dll

Converts a TransientFaultException to or from JSON.

public class TransientFaultExceptionConverter : JsonConverter<TransientFaultException>
Inheritance
TransientFaultExceptionConverter
Inherited Members
Extension Methods

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type TransientFaultException.

public override TransientFaultException Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader

The Utf8JsonReader to read from.

typeToConvert Type

The Type being converted.

options JsonSerializerOptions

The JsonSerializerOptions being used.

Returns

TransientFaultException

The value that was converted.

Write(Utf8JsonWriter, TransientFaultException, JsonSerializerOptions)

Writes the value as JSON.

public override void Write(Utf8JsonWriter writer, TransientFaultException value, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter

The Utf8JsonWriter to write to.

value TransientFaultException

The value to convert.

options JsonSerializerOptions

The JsonSerializerOptions being used.

See Also