TraceListener.TraceTransfer Method (TraceEventCache, String, Int32, String, Guid)
Writes trace information, a message, a related activity identity and event information to the listener specific output.
Assembly: System (in System.dll)
<ComVisibleAttribute(False)> Public Overridable Sub TraceTransfer ( eventCache As TraceEventCache, source As String, id As Integer, message As String, relatedActivityId As Guid )
A TraceEventCache object that contains the current process ID, thread ID, and stack trace information.
A name used to identify the output, typically the name of the application that generated the trace event.
A numeric identifier for the event.
A message to write.
The TraceTransfer method is used for the correlation of related traces. The method calls the TraceEvent method to process the call, with the eventType level set to Transfer and the relatedActivityIdGuid as a string appended to the message.
Available since 2.0