Click or drag to resize

TracingClient.StartAsync Method

Version 87.1.132
Start trace events collection.

Namespace:  CefSharp.DevTools.Tracing
Assembly:  CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax
public Task<DevToolsMethodResponse> StartAsync(
	string categories = null,
	string options = null,
	Nullable<long> bufferUsageReportingInterval = null,
	string transferMode = null,
	Nullable<StreamFormat> streamFormat = null,
	Nullable<StreamCompression> streamCompression = null,
	TraceConfig traceConfig = null
)

Parameters

categories (Optional)
Type: System.String
Category/tag filter
options (Optional)
Type: System.String
Tracing options
bufferUsageReportingInterval (Optional)
Type: System.Nullable<Int64>
If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
transferMode (Optional)
Type: System.String
Whether to report trace events as series of dataCollected events or to save trace to astream (defaults to `ReportEvents`).
streamFormat (Optional)
Type: System.Nullable<StreamFormat>
Trace data format to use. This only applies when using `ReturnAsStream`transfer mode (defaults to `json`).
streamCompression (Optional)
Type: System.Nullable<StreamCompression>
Compression format to use. This only applies when using `ReturnAsStream`transfer mode (defaults to `none`)
traceConfig (Optional)
Type: CefSharp.DevTools.Tracing.TraceConfig
traceConfig

Return Value

Type: Task<DevToolsMethodResponse>
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also