ITelemetryRecorder Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a telementry event recorder.
public interface class ITelemetryRecorder
public interface ITelemetryRecorder
type ITelemetryRecorder = interface
Public Interface ITelemetryRecorder
Methods
RecordEvent(TelemetryEvent) |
Records the specified |
StartOperation(TelemetryIdentifier, IEnumerable<DataPoint>, ITelemetryScope) |
Start tracking an operation by posting an OperationEvent at the beginning of the operation, and then returns a TelemetryScope<T> object. When the operation finishes, call Dispose() to post another OperationEvent for the end point. Because the same event name is used by both start and end events, please don't use Start or End in event name. |
StartUserTask(TelemetryIdentifier, IEnumerable<DataPoint>, ITelemetryScope) |
Start tracking a user task by posting a UserTaskEvent at the beginning of the user task, and then returns a TelemetryScope<T> object. When the user task finishes, call Dispose() to post another UserTaskEvent for the end point. Because the same event name is used by both start and end events, please don't use Start or End in event name. |