| Apache log4net™ SDK Documentation - Microsoft .NET Framework 4.0 |
|
LoggingEvent.ThreadName Property
Gets the name of the current thread.
[Visual Basic]
Public ReadOnly Property ThreadName As
String
[C#]
public
string ThreadName {get;}
Property Value
The name of the current thread, or the thread ID when the name is not available.
Remarks
The collected information is cached for future use.
See Also
LoggingEvent Class | log4net.Core Namespace