| NLogTraceListenerTraceTransfer Method |
Writes trace information, a message, a related activity identity and event information to the listener specific output.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public override void TraceTransfer(
TraceEventCache eventCache,
string source,
int id,
string message,
Guid relatedActivityId
)
Public Overrides Sub TraceTransfer (
eventCache As TraceEventCache,
source As String,
id As Integer,
message As String,
relatedActivityId As Guid
)
Dim instance As NLogTraceListener
Dim eventCache As TraceEventCache
Dim source As String
Dim id As Integer
Dim message As String
Dim relatedActivityId As Guid
instance.TraceTransfer(eventCache, source,
id, message, relatedActivityId)
abstract TraceTransfer :
eventCache : TraceEventCache *
source : string *
id : int *
message : string *
relatedActivityId : Guid -> unit
override TraceTransfer :
eventCache : TraceEventCache *
source : string *
id : int *
message : string *
relatedActivityId : Guid -> unit
Parameters
- eventCache
- Type: System.DiagnosticsTraceEventCache
A TraceEventCache object that contains the current process ID, thread ID, and stack trace information. - source
- Type: SystemString
A name used to identify the output, typically the name of the application that generated the trace event. - id
- Type: SystemInt32
A numeric identifier for the event. - message
- Type: SystemString
A message to write. - relatedActivityId
- Type: SystemGuid
A Guid object identifying a related activity.
See Also