Table of Contents

Class AkriServiceError

Namespace
Azure.Iot.Operations.Services.AssetAndDeviceRegistry.AdrBaseService
Assembly
Azure.Iot.Operations.Services.dll
public class AkriServiceError : IJsonOnDeserialized, IJsonOnSerializing
Inheritance
AkriServiceError
Implements
Inherited Members

Properties

Code

The error code that identifies the error.

[JsonPropertyName("code")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public CodeSchema Code { get; set; }

Property Value

CodeSchema

Message

A human-readable description of the error.

[JsonPropertyName("message")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string Message { get; set; }

Property Value

string

Timestamp

The timestamp (in UTC) when the error occurred.

[JsonPropertyName("timestamp")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public DateTime Timestamp { get; set; }

Property Value

DateTime