Class TracingAdapter
Represents an adapter for the Tracing domain to simplify the command interface.
public class TracingAdapter
- Inheritance
-
TracingAdapter
- Inherited Members
Constructors
TracingAdapter(IDevToolsSession)
Initializes a new instance of the TracingAdapter class.
public TracingAdapter(IDevToolsSession session)
Parameters
session
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
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
EndCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
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
GetCategoriesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
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
RecordClockSyncMarkerCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
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
RequestMemoryDumpCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
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
StartCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
BufferUsage
bufferUsage
public event EventHandler<BufferUsageEventArgs> BufferUsage
Event Type
DataCollected
dataCollected
public event EventHandler<DataCollectedEventArgs> DataCollected
Event Type
TracingComplete
tracingComplete
public event EventHandler<TracingCompleteEventArgs> TracingComplete