コード例 #1
0
        internal static IDisposable Push(CorrelationContext correlationContext)
        {
            var currentContext = CurrentContext;
            var newContext     = new ServiceContext(currentContext, correlationContext);

            return(Push(newContext));
        }
コード例 #2
0
 private ServiceContext(ServiceContext previous, CorrelationContext correlationContext)
     : this(previous)
 {
     this._correlationContext = correlationContext;
 }