[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.
Assembly: mscorlib (in mscorlib.dll)
member WriteEventWithRelatedActivityId : eventId:int * childActivityID:Guid * args:Object -> unit
The method logs a transfer event. The activity of the current thread is logged with the event, and this allows two activities to be related by a consumer of events.
Your ETW event method calling this function must follow these guidelines:
Specify the first parameter as a Guid named relatedActivityId.
Call passing in the event ID, followed by the related ID GUID, followed by all the parameters the event method is passed, in the same order.
If args is not used, it is converted to an empty array for the resulting call to ETW.
Windows Phone 8.1