[Supported in the .NET Framework 4.5.1 and later versions]
Writes an event that indicates that the current activity is related to another activity.
This API is not CLS-compliant. Namespace: System.Diagnostics.Tracing
Assembly: mscorlib (in mscorlib.dll)
[<CLSCompliantAttribute(false)>] member WriteEventWithRelatedActivityIdCore : eventId:int * childActivityID:nativeptr<Guid> * eventDataCount:int * data:nativeptr<EventSource.EventData> -> unit
- Type: System.Guid*
A pointer to the GUID of the child activity ID.
- Type: System.Int32
The number of items in the data field.
- Type: System.Diagnostics.Tracing.EventSource.EventData*
A pointer to the first item in the event data field.
is similar to the WriteEventWithRelatedActivityId method but offers better performance, bevcause it does not have to unbox the childActivityID and data arguments.
Your ETW event method calling this function must follow these guidelines:
Windows Phone 8.1
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.