StackFrame Constructor (String, Int32)

StackFrame Constructor (String, Int32)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the StackFrame class that contains only the specified file name and line number.

Namespace:  System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Sub New ( _
	fileName As String, _
	lineNumber As Integer _
)

Parameters

fileName
Type: System.String
The file name.
lineNumber
Type: System.Int32
The line number in the specified file.

Use this constructor when you do not want to use the debugger's line mapping logic.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft