log4net SDK Reference |

# LocationInfo Constructor (String, String, String, String)

Constructor

[Visual Basic]
Overloads Public Sub New( _
ByVal className As String, _
ByVal methodName As String, _
ByVal fileName As String, _
ByVal lineNumber As String _
)
[C#]
public LocationInfo(
string className,
string methodName,
string fileName,
string lineNumber
);

#### Parameters

className
  The fully qualified class name.
methodName
  The method name.
fileName
  The file name.
lineNumber
  The line number of the method within the file.

#### Remarks

Initializes a new instance of the LocationInfo class with the specified data.

#### See Also

LocationInfo Class | log4net.Core Namespace | LocationInfo Constructor Overload List