Class TracingAdapter
Represents an adapter for the Tracing domain to simplify the command interface.
- Inheritance
-
Tracing
Adapter
- Inherited Members
Constructors
TracingAdapter(IDevToolsSession)
Initializes a new instance of the TracingAdapter class.
Parameters
session
IDevTools Session The IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
Property Value
Methods
End(EndCommandSettings, CancellationToken, int?, bool)
end
public Task<EndCommandResponse> End(EndCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EndCommand Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetCategories(GetCategoriesCommandSettings, CancellationToken, int?, bool)
getCategories
public Task<GetCategoriesCommandResponse> GetCategories(GetCategoriesCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetCategories Command Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RecordClockSyncMarker(RecordClockSyncMarkerCommandSettings, CancellationToken, int?, bool)
recordClockSyncMarker
public Task<RecordClockSyncMarkerCommandResponse> RecordClockSyncMarker(RecordClockSyncMarkerCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RecordClock Sync Marker Command Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RequestMemoryDump(RequestMemoryDumpCommandSettings, CancellationToken, int?, bool)
requestMemoryDump
public Task<RequestMemoryDumpCommandResponse> RequestMemoryDump(RequestMemoryDumpCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RequestMemory Dump Command Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Start(StartCommandSettings, CancellationToken, int?, bool)
start
public Task<StartCommandResponse> Start(StartCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
StartCommand Settings cancellationToken
CancellationToken millisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
BufferUsage
bufferUsage
Event Type
DataCollected
dataCollected
Event Type
TracingComplete
tracingComplete