InterventionReportBody Class
The body of the reports of type intervention (https://wicg.github.io/intervention-reporting/): a request of a document that the user agent did not honor (e.g. a preventDefault() call in a listener that is passive by default).
public sealed class InterventionReportBody : ReportBody- Inheritance
ReportBodyInterventionReportBody
Properties
| Name | Description |
|---|---|
| ColumnNumber | Gets the column of the script that caused the intervention, or null. |
| Id | Gets the identifier of the intervention (the name used by Chromium, e.g. PreventDefaultPassive). |
| LineNumber | Gets the line of the script that caused the intervention, or null. |
| Message | Gets a message that describes the intervention. |
| SourceFile | Gets the URL of the script that caused the intervention, or null. |
ColumnNumber
DeprecationAndInterventionReports.csGets the column of the script that caused the intervention, or null.
public int? ColumnNumber { get; init; }Gets the identifier of the intervention (the name used by Chromium, e.g. PreventDefaultPassive).
public string Id { get; init; }Property value
See also
LineNumber
DeprecationAndInterventionReports.csGets the line of the script that caused the intervention, or null.
public int? LineNumber { get; init; }Property value
See also
Gets a message that describes the intervention.
public string Message { get; init; }Property value
See also
SourceFile
DeprecationAndInterventionReports.csGets the URL of the script that caused the intervention, or null.
public string? SourceFile { get; init; }