EventSource.WriteEventWithRelatedActivityId Method
[This topic is preliminary and is subject to change.]
Writes an event that indicates that the current activity is related to another activity.
Namespace: System.Diagnostics.Tracing
Assembly: mscorlib (in mscorlib.dll)
protected void WriteEventWithRelatedActivityId( int eventId, Guid childActivityID, params Object[] args )
Parameters
- eventId
- Type: System.Int32
An identifier that uniquely identifies this event within the EventSource.
- childActivityID
- Type: System.Guid
The related activity identifier.
- args
- Type: System.Object[]
An array of objects that contain data about the event, or null if only the childActivityID is needed.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.