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)
public: [ComVisibleAttribute(false)] virtual void TraceTransfer( TraceEventCache^ eventCache, String^ source, int id, String^ message, Guid relatedActivityId )
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