StackFrameInfo Class¶
Detailed exception stack information used to generate a view
- Namespace
Microsoft.AspNetCore.Diagnostics.Views
- Assemblies
- Microsoft.AspNetCore.Diagnostics
Properties¶
-
Microsoft.AspNetCore.Diagnostics.Views.StackFrameInfo.
ContextCode
¶ Line(s) of code responsible for the error.
Return type: System.Collections.Generic.IEnumerable<System.String> public IEnumerable<string> ContextCode { get; set; }
-
Microsoft.AspNetCore.Diagnostics.Views.StackFrameInfo.
ErrorDetails
¶ Specific error details for this stack frame.
Return type: System.String public string ErrorDetails { get; set; }
-
Microsoft.AspNetCore.Diagnostics.Views.StackFrameInfo.
File
¶ File containing the instruction
Return type: System.String public string File { get; set; }
-
Microsoft.AspNetCore.Diagnostics.Views.StackFrameInfo.
Function
¶ Function containing instruction
Return type: System.String public string Function { get; set; }
-
Microsoft.AspNetCore.Diagnostics.Views.StackFrameInfo.
Line
¶ The line number of the instruction
Return type: System.Int32 public int Line { get; set; }
-
Microsoft.AspNetCore.Diagnostics.Views.StackFrameInfo.
PostContextCode
¶ Lines of code after the actual error line(s).
Return type: System.Collections.Generic.IEnumerable<System.String> public IEnumerable<string> PostContextCode { get; set; }
-
Microsoft.AspNetCore.Diagnostics.Views.StackFrameInfo.
PreContextCode
¶ Lines of code before the actual error line(s).
Return type: System.Collections.Generic.IEnumerable<System.String> public IEnumerable<string> PreContextCode { get; set; }
-
Microsoft.AspNetCore.Diagnostics.Views.StackFrameInfo.
PreContextLine
¶ The line preceeding the frame line
Return type: System.Int32 public int PreContextLine { get; set; }
-