/// <summary>
 /// Clears the current TrackingContext. Use with caution.
 /// </summary>
 public static void ClearCurrent()
 {
     lock (s_Lock)
     {
         AmbientContext.Clear <TrackingContext>();
     }
 }
 public static TrackingContext DeSerialize(byte[] array)
 {
     if (array == null)
     {
         throw new ArgumentNullException(nameof(array));
     }
     return(AmbientContext.DeSerialize <TrackingContext>(array));
 }
 public static byte[] Serialize(TrackingContext trackingContext)
 {
     if (trackingContext == null)
     {
         throw new ArgumentNullException(nameof(trackingContext));
     }
     return(AmbientContext.Serialize(trackingContext));
 }