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
ReportBodyDeprecationReportBody
Properties
| Name | Description |
|---|---|
| AnticipatedRemoval | 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). |
| ColumnNumber | Gets the column of the script that used the feature, or null. |
| Id | Gets the identifier of the deprecated feature (the name used by Chromium, e.g. XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload). |
| LineNumber | Gets the line of the script that used the feature, or null. |
| Message | Gets a message that describes the deprecation. |
| SourceFile | Gets the URL of the script that used the feature, or null. |
AnticipatedRemoval
DeprecationAndInterventionReports.csGets 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; }ColumnNumber
DeprecationAndInterventionReports.csGets the column of the script that used the feature, or null.
public int? ColumnNumber { get; init; }Property value
See also
Gets the identifier of the deprecated feature (the name used by Chromium, e.g. XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload).
public string Id { get; init; }Property value
See also
LineNumber
DeprecationAndInterventionReports.csGets the line of the script that used the feature, or null.
public int? LineNumber { get; init; }Property value
See also
Gets a message that describes the deprecation.
public string Message { get; init; }Property value
See also
SourceFile
DeprecationAndInterventionReports.csGets the URL of the script that used the feature, or null.
public string? SourceFile { get; init; }