EventProvider ActivityId in a call context using AppFabric
问题 I am using the EventProvider to write events that eventually get written to Appfabric. It generally follows the EventProvider implementation as specified here. I am using this from with in a WCF service. The service calls other methods asynchronously, so the logic of service operates on multiple threads. As I understand the E2EActivityId of events use Trace.CorrelationManager.ActivityId which is stored in Thread's TLS. I tried setting the EventProvider.SetActivityId(ref ..) method before