System\Diagnostics\EventSchemaTraceListener.cs (26)
40private TraceLogRetentionOption _retention = (TraceLogRetentionOption)LogStream.DefaultRetention;
62: this(fileName, name, bufferSize, (TraceLogRetentionOption)LogStream.DefaultRetention) {
67public EventSchemaTraceListener(String fileName, String name, int bufferSize, TraceLogRetentionOption logRetentionOption)
73public EventSchemaTraceListener(String fileName, String name, int bufferSize, TraceLogRetentionOption logRetentionOption, long maximumFileSize)
79public EventSchemaTraceListener(String fileName, String name, int bufferSize, TraceLogRetentionOption logRetentionOption, long maximumFileSize, int maximumNumberOfFiles) {
82if (logRetentionOption < TraceLogRetentionOption.UnlimitedSequentialFiles || logRetentionOption > TraceLogRetentionOption.SingleFileBoundedSize)
123public TraceLogRetentionOption TraceLogRetentionOption {
533_retention = TraceLogRetentionOption.SingleFileUnboundedSize;
535_retention = TraceLogRetentionOption.LimitedCircularFiles;
537_retention = TraceLogRetentionOption.UnlimitedSequentialFiles;
539_retention = TraceLogRetentionOption.SingleFileBoundedSize;
541_retention = TraceLogRetentionOption.LimitedSequentialFiles;
543_retention = TraceLogRetentionOption.SingleFileUnboundedSize;
571case TraceLogRetentionOption.SingleFileUnboundedSize:
574case TraceLogRetentionOption.SingleFileBoundedSize:
575case TraceLogRetentionOption.UnlimitedSequentialFiles:
576case TraceLogRetentionOption.LimitedSequentialFiles:
577case TraceLogRetentionOption.LimitedCircularFiles:
597case TraceLogRetentionOption.SingleFileUnboundedSize:
598case TraceLogRetentionOption.SingleFileBoundedSize:
602case TraceLogRetentionOption.UnlimitedSequentialFiles:
606case TraceLogRetentionOption.LimitedSequentialFiles:
618case TraceLogRetentionOption.LimitedCircularFiles:
696internal TraceWriter(string _fileName, int bufferSize, TraceLogRetentionOption retention, long maxFileSize, int maxNumberOfFiles): base(CultureInfo.InvariantCulture) {