Initializes a new instance of the
LogMessage class.
Namespace: Dapfor.Net.DiagnosticsAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public LogMessage(
DateTime dateTime,
int threadId,
Severity severity,
string message,
Object dataObject
) |
Visual Basic |
---|
Public Sub New (
dateTime As DateTime,
threadId As Integer,
severity As Severity,
message As String,
dataObject As Object
) |
Visual C++ |
---|
public:
LogMessage(
DateTime dateTime,
int threadId,
Severity severity,
String^ message,
Object^ dataObject
) |
F# |
---|
new :
dateTime : DateTime *
threadId : int *
severity : Severity *
message : string *
dataObject : Object -> LogMessage |
Parameters
- dateTime
- Type: System..::..DateTime
The local time when the message was created.
- threadId
- Type: System..::..Int32
The thread in which the message was created.
- severity
- Type: Dapfor.Net.Diagnostics..::..Severity
The severity.
- message
- Type: System..::..String
The text message.
- dataObject
- Type: System..::..Object
The extended data.
See Also