System.Linq.Parallel.TraceHelpers.TraceInfo C# (CSharp) Method

TraceInfo() private method

private TraceInfo ( string msg ) : void
msg string
return void
        internal static void TraceInfo(string msg, params object[] args)
        {
            Debug.WriteLine(string.Format(msg, args));
        }
    }

Usage Example

        private readonly TaskScheduler _taskScheduler;                       // The task manager to execute the query.

        //-----------------------------------------------------------------------------------
        // Instantiates a new merge helper.
        //
        // Arguments:
        //     partitions   - the source partitions from which to consume data.
        //     ignoreOutput - whether we're enumerating "for effect" or for output.
        //

        internal OrderPreservingMergeHelper(PartitionedStream <TInputOutput, TKey> partitions, TaskScheduler taskScheduler,
                                            CancellationState cancellationState, int queryId)
        {
            Debug.Assert(partitions != null);

            TraceHelpers.TraceInfo("KeyOrderPreservingMergeHelper::.ctor(..): creating an order preserving merge helper");

            _taskGroupState = new QueryTaskGroupState(cancellationState, queryId);
            _partitions     = partitions;
            _results        = new Shared <TInputOutput[]>(null);
            _taskScheduler  = taskScheduler;
        }
All Usage Examples Of System.Linq.Parallel.TraceHelpers::TraceInfo
TraceHelpers