Share via


TelemetryScopeBase.PostFault Method

Definition

Reports a single fault event

public Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation PostFault (Microsoft.VisualStudio.ArchitectureTools.Telemetry.TelemetryIdentifier telemetryIdentifier, string description, Exception exception = default, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.ArchitectureTools.Telemetry.DataPoint> properties = default);
abstract member PostFault : Microsoft.VisualStudio.ArchitectureTools.Telemetry.TelemetryIdentifier * string * Exception * seq<Microsoft.VisualStudio.ArchitectureTools.Telemetry.DataPoint> -> Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation
override this.PostFault : Microsoft.VisualStudio.ArchitectureTools.Telemetry.TelemetryIdentifier * string * Exception * seq<Microsoft.VisualStudio.ArchitectureTools.Telemetry.DataPoint> -> Microsoft.VisualStudio.Telemetry.TelemetryEventCorrelation
Public Function PostFault (telemetryIdentifier As TelemetryIdentifier, description As String, Optional exception As Exception = Nothing, Optional properties As IEnumerable(Of DataPoint) = Nothing) As TelemetryEventCorrelation

Parameters

description
String

Description of fault

exception
Exception

Exception object.

properties
IEnumerable<DataPoint>

Optional properties of fault

Returns

Implements

Applies to