Skip to content

PayloadError

Record in Oadm.Sdk.Tasks · Oadm.Sdk.dll

One problem of a task payload (SDK 0.13.0, ITaskPlugin.ValidatePayload): the field and the text the dialog shows below it.

public sealed record PayloadError(string Field, string Message)

Parameters

  • Field: The payload’s JSON name of the field, nested with dots (“ntp.servers”); empty for the whole payload.
  • Message: What to enter instead, in the dialog’s words (“Enter at least one NTP server.”).
string Field { get; init; }

The payload’s JSON name of the field, nested with dots (“ntp.servers”); empty for the whole payload.

string Message { get; init; }

What to enter instead, in the dialog’s words (“Enter at least one NTP server.”).