Share via


ITelemetryScope Interface

Definition

Represents a telemetry scope.

public interface class ITelemetryScope : IDisposable, Microsoft::VisualStudio::ArchitectureTools::Telemetry::ITelemetryService
public interface ITelemetryScope : IDisposable, Microsoft.VisualStudio.ArchitectureTools.Telemetry.ITelemetryService
type ITelemetryScope = interface
    interface ITelemetryService
    interface IDisposable
Public Interface ITelemetryScope
Implements IDisposable, ITelemetryService
Derived
Implements

Properties

Correlation

Correlation information for nested scopes.

EndEvent

The end event for this scope.

Parent

The immediate parent scope.

Result

The result for thois scope.

Root

The root parent scope.

Methods

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

Reports a single fault event

(Inherited from ITelemetryService)
PostOperation(TelemetryIdentifier, TelemetryResult, IEnumerable<DataPoint>)

Post a single operation event

(Inherited from ITelemetryService)
PostUserTask(TelemetryIdentifier, TelemetryResult, IEnumerable<DataPoint>)

Post a single user task event

(Inherited from ITelemetryService)
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.

(Inherited from ITelemetryService)
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.

(Inherited from ITelemetryService)

Applies to