internal static TrackingContext GetInstanceFromKey(string key) { Guid guid; if (!TrackingContext.ComponentTrackingGuids.TryGetValue(key, out guid)) { guid = Guid.NewGuid(); } return(TrackingContext.GetInstance(guid, null)); }
internal static TrackingContext GetInstanceFromKey(string key, string overrideSystemTracker) { Guid guid; string str; if (!TrackingContext.ComponentTrackingGuids.TryGetValue(key, out guid)) { guid = Guid.NewGuid(); } str = (!string.IsNullOrEmpty(overrideSystemTracker) ? overrideSystemTracker : string.Empty); return(TrackingContext.GetInstance(guid, str)); }
internal static TrackingContext GetInstance(Message message, bool embedRoleInformation) { return(TrackingContext.GetInstance(message, string.Empty, embedRoleInformation, null)); }
internal static TrackingContext GetInstance(Message message, WebOperationContext webOperationContext, bool embedRoleInformation) { return(TrackingContext.GetInstance(message, string.Empty, embedRoleInformation, webOperationContext)); }
internal static TrackingContext GetInstance(string stringTrackingId, bool embedRoleInformation) { return(TrackingContext.GetInstance(stringTrackingId, null, embedRoleInformation)); }
internal static TrackingContext GetInstance(Guid guidTrackingId) { return(TrackingContext.GetInstance(guidTrackingId, null)); }