LocationInfo Constructor (String, String, String, String) | Apache log4net™ SDK Documentation

Constructor

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public LocationInfo(
    	string className,
    	string methodName,
    	string fileName,
    	string lineNumber
    )

    Public Sub New (
    	className As String,
    	methodName As String,
    	fileName As String,
    	lineNumber As String
    )

    public:
    LocationInfo(
    	String^ className,
    	String^ methodName,
    	String^ fileName,
    	String^ lineNumber
    )

    new :
            className : string *
            methodName : string *
            fileName : string *
            lineNumber : string -> LocationInfo

#### Parameters

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

Remarks

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

See Also

#### Reference

LocationInfo Class
LocationInfo Overload
log4net.Core Namespace