Share via


ITelemetryService Interface

Definition

public interface class ITelemetryService
public interface ITelemetryService
type ITelemetryService = interface
Public Interface ITelemetryService
Derived

Methods

PostFault(TelemetryIdentifier, String, Exception, IEnumerable<DataPoint>)

Reports a single fault event

PostOperation(TelemetryIdentifier, TelemetryResult, IEnumerable<DataPoint>)

Post a single operation event

PostUserTask(TelemetryIdentifier, TelemetryResult, IEnumerable<DataPoint>)

Post a single user task event

StartOperation(TelemetryIdentifier, IEnumerable<DataPoint>)

Start tracking user task by posting a OperationEvent at the beginning of user task work, and then return a TelemetryScope<T> object. When the user task finishes, call method Dispose() to post another OperationEvent for 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>)

Start tracking user task by posting a UserTaskEvent at the beginning of user task work, and then return a TelemetryScope<T> object. When the user task finishes, call method Dispose() to post another UserTaskEvent for 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.

Applies to