TracingClientStartAsync Method |
Version 88.2.90
Start trace events collection.
Namespace:
CefSharp.DevTools.Tracing
Assembly:
CefSharp (in CefSharp.dll) Version: 88.2.90.0 (88.2.90.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
)
public:
Task<DevToolsMethodResponse^>^ StartAsync(
String^ categories = nullptr,
String^ options = nullptr,
Nullable<long long> bufferUsageReportingInterval = nullptr,
String^ transferMode = nullptr,
Nullable<StreamFormat> streamFormat = nullptr,
Nullable<StreamCompression> streamCompression = nullptr,
TraceConfig^ traceConfig = nullptr
)
Parameters
- categories (Optional)
- Type: SystemString
Category/tag filter - options (Optional)
- Type: SystemString
Tracing options - bufferUsageReportingInterval (Optional)
- Type: SystemNullableInt64
If set, the agent will issue bufferUsage events at this interval, specified in milliseconds - transferMode (Optional)
- Type: SystemString
Whether to report trace events as series of dataCollected events or to save trace to astream (defaults to `ReportEvents`). - streamFormat (Optional)
- Type: SystemNullableStreamFormat
Trace data format to use. This only applies when using `ReturnAsStream`transfer mode (defaults to `json`). - streamCompression (Optional)
- Type: SystemNullableStreamCompression
Compression format to use. This only applies when using `ReturnAsStream`transfer mode (defaults to `none`) - traceConfig (Optional)
- Type: CefSharp.DevTools.TracingTraceConfig
traceConfig
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also