ITelemetryService.PostOperation Method
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.
Post a single operation event
C#
public Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation PostOperation(Microsoft.VisualStudio.ArchitectureTools.Telemetry.TelemetryIdentifier telemetryIdentifier, Microsoft.VisualStudio.Telemetry.TelemetryResult result, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.ArchitectureTools.Telemetry.DataPoint> properties = default);
abstract member PostOperation : Microsoft.VisualStudio.ArchitectureTools.Telemetry.TelemetryIdentifier * Microsoft.VisualStudio.Telemetry.TelemetryResult * seq<Microsoft.VisualStudio.ArchitectureTools.Telemetry.DataPoint> -> Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation
Public Function PostOperation (telemetryIdentifier As TelemetryIdentifier, result As TelemetryResult, Optional properties As IEnumerable(Of DataPoint) = Nothing) As TelemetryEventCorrelation
- telemetryIdentifier
- TelemetryIdentifier
- result
- TelemetryResult
The TelemetryResult of the event
- properties
- IEnumerable<DataPoint>
Optional event properties
Product | Versions |
---|---|
Visual Studio SDK | 2019, 2022 |