/// <summary> /// Sets the activity id for the current thread. /// </summary> /// <param name="newActivityId">the GUID identifying the activity.</param> internal void SetActivityIdForCurrentThread(Guid newActivityId) { s_provider.SetActivity(newActivityId); }