TelemetryScope<T>.End(TelemetryResult, String) 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.
Marks the end of this work and post end event.
public void End (Microsoft.VisualStudio.Telemetry.TelemetryResult result, string resultSummary = default);
member this.End : Microsoft.VisualStudio.Telemetry.TelemetryResult * string -> unit
Public Sub End (result As TelemetryResult, Optional resultSummary As String = Nothing)
Parameters
- result
- TelemetryResult
the result of this user task. If the result is Failure, recommend correlate with FaultEvent.
- resultSummary
- String
a summary description for the result. it provides a little bit more details about the result without digging into it. when correlated with fault event, use this parameter to summarize the additional information stored in FaultEvent. E.g., "sign in failed because of wrong credential", "user cancelled azure deployment". Default value is null.