<PackageReference Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.8.0" />

Azure.Monitor.OpenTelemetry.Exporter.Models.StackFrame

public string Assembly { get; set; }

Name of the assembly (dll, jar, etc.) containing this function.

public string FileName { get; set; }

File name or URL of the method implementation.

public int Level { get; set; }

Level in the stack.

public int? Line { get; set; }

Line number of the code implementation.

public string Method { get; set; }

Method name.

public StackFrame(StackFrame stackFrame, int frameId)

Converts a System.Diagnostics.StackFrame to a Azure.Monitor.OpenTelemetry.Exporter.Models.StackFrame.

public StackFrame(int level, string method)

Initializes a new instance of StackFrame.

protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)