DeprecationReportBody Class

The body of the reports of type deprecation (https://wicg.github.io/deprecation-reporting/): the use of a deprecated feature by a document (e.g. a synchronous XMLHttpRequest in a window).

public sealed class DeprecationReportBody : ReportBody
Inheritance
ReportBody DeprecationReportBody

Properties

NameDescription
AnticipatedRemovalGets the date (UTC) after which the feature is expected to be removed, or null when it is not known (as for every feature that the library reports).
ColumnNumberGets the column of the script that used the feature, or null.
IdGets the identifier of the deprecated feature (the name used by Chromium, e.g. XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload).
LineNumberGets the line of the script that used the feature, or null.
MessageGets a message that describes the deprecation.
SourceFileGets the URL of the script that used the feature, or null.

Gets the date (UTC) after which the feature is expected to be removed, or null when it is not known (as for every feature that the library reports).

public DateTime? AnticipatedRemoval { get; init; }

Gets the column of the script that used the feature, or null.

public int? ColumnNumber { get; init; }

Gets the identifier of the deprecated feature (the name used by Chromium, e.g. XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload).

public string Id { get; init; }

Gets the line of the script that used the feature, or null.

public int? LineNumber { get; init; }

Gets a message that describes the deprecation.

public string Message { get; init; }

Gets the URL of the script that used the feature, or null.

public string? SourceFile { get; init; }