Class ChromiumPerformanceLoggingPreferences
Represents the type-safe options for setting preferences for performance logging in the Chromium browser.
public class ChromiumPerformanceLoggingPreferences
- Inheritance
-
ChromiumPerformanceLoggingPreferences
- Inherited Members
Properties
BufferUsageReportingInterval
Gets or sets the interval between Chromium DevTools trace buffer usage events. Defaults to 1000 milliseconds.
public TimeSpan BufferUsageReportingInterval { get; set; }
Property Value
Exceptions
- ArgumentException
Thrown when an attempt is made to set the value to a time span of less tnan or equal to zero milliseconds.
IsCollectingNetworkEvents
Gets or sets a value indicating whether Chromium will collect events from the Network domain. Defaults to true.
public bool IsCollectingNetworkEvents { get; set; }
Property Value
IsCollectingPageEvents
Gets or sets a value indicating whether Chromium will collect events from the Page domain. Defaults to true.
public bool IsCollectingPageEvents { get; set; }
Property Value
TracingCategories
Gets a comma-separated list of the categories for which tracing is enabled.
public string TracingCategories { get; }
Property Value
Methods
AddTracingCategories(IEnumerable<string>)
Adds categories to the list of Chromium tracing categories for which events should be collected.
public void AddTracingCategories(IEnumerable<string> categoriesToAdd)
Parameters
categoriesToAdd
IEnumerable<string>An IEnumerable<T> object of categories to add.
AddTracingCategories(params string[])
Adds categories to the list of Chromium tracing categories for which events should be collected.
public void AddTracingCategories(params string[] categoriesToAdd)
Parameters
categoriesToAdd
string[]An array of categories to add.
AddTracingCategory(string)
Adds a single category to the list of Chromium tracing categories for which events should be collected.
public void AddTracingCategory(string category)
Parameters
category
stringThe category to add.