TelemetryScopeBase.PostFault Method
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.
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
- telemetryIdentifier
- TelemetryIdentifier
- description
- String
Description of fault
- exception
- Exception
Exception object.
- properties
- IEnumerable<DataPoint>
Optional properties of fault