Rediger

Del via


EventProviderTraceListener.TraceTransfer Method

Definition

Writes trace information, a message, a related activity identity and event information to the listener specific output.

public:
 override void TraceTransfer(System::Diagnostics::TraceEventCache ^ eventCache, System::String ^ source, int id, System::String ^ message, Guid relatedActivityId);
[System.Security.SecurityCritical]
public override sealed void TraceTransfer (System.Diagnostics.TraceEventCache eventCache, string source, int id, string message, Guid relatedActivityId);
[<System.Security.SecurityCritical>]
override this.TraceTransfer : System.Diagnostics.TraceEventCache * string * int * string * Guid -> unit
Public Overrides NotOverridable Sub TraceTransfer (eventCache As TraceEventCache, source As String, id As Integer, message As String, relatedActivityId As Guid)

Parameters

eventCache
TraceEventCache

A TraceEventCache object that contains the current process ID, thread ID, and stack trace information.

source
String

A name used to identify the output, typically the name of the application that generated the trace event.

id
Int32

A numeric identifier for the event.

message
String

A message to write.

relatedActivityId
Guid

A Guid object identifying a related activity.

Attributes

Applies to

See also