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
- sessionIDevToolsSession
- The IDevToolsSession to be used with this adapter. 
Exceptions
- ArgumentNullException
- If - sessionis null.
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
- commandEndCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
GetCategories(GetCategoriesCommandSettings?, CancellationToken, int?, bool)
getCategories
public Task<GetCategoriesCommandResponse> GetCategories(GetCategoriesCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetCategoriesCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RecordClockSyncMarker(RecordClockSyncMarkerCommandSettings, CancellationToken, int?, bool)
recordClockSyncMarker
public Task<RecordClockSyncMarkerCommandResponse?> RecordClockSyncMarker(RecordClockSyncMarkerCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRecordClockSyncMarkerCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
RequestMemoryDump(RequestMemoryDumpCommandSettings, CancellationToken, int?, bool)
requestMemoryDump
public Task<RequestMemoryDumpCommandResponse> RequestMemoryDump(RequestMemoryDumpCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandRequestMemoryDumpCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Start(StartCommandSettings, CancellationToken, int?, bool)
start
public Task<StartCommandResponse?> Start(StartCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandStartCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Events
BufferUsage
bufferUsage
public event EventHandler<BufferUsageEventArgs>? BufferUsageEvent Type
DataCollected
dataCollected
public event EventHandler<DataCollectedEventArgs>? DataCollectedEvent Type
TracingComplete
tracingComplete
public event EventHandler<TracingCompleteEventArgs>? TracingComplete