C# Class Microsoft.VisualStudio.R.Package.Telemetry.StringTelemetryRecorder

Records telemetry events into a string. The resulting log can be used for testing or for submitting telemetry as a file rather than via VS telemetry Web service.
Inheritance: ITelemetryRecorder, IDisposable
显示文件 Open project: Microsoft/RTVS

Public Methods

Method Description
Dispose ( ) : void
RecordActivity ( object telemetryActivity ) : void
RecordEvent ( string eventName, object parameters = null ) : void
Reset ( ) : void

Private Methods

Method Description
WriteDictionary ( object>.IDictionary dict ) : void
WriteProperty ( string name, object value ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

RecordActivity() public method

public RecordActivity ( object telemetryActivity ) : void
telemetryActivity object
return void

RecordEvent() public method

public RecordEvent ( string eventName, object parameters = null ) : void
eventName string
parameters object
return void

Reset() public method

public Reset ( ) : void
return void