28 references to EventSourceSettings
mscorlib (28)
system\diagnostics\eventing\eventsource.cs (25)
381public EventSourceSettings Settings 718: this(EventSourceSettings.EtwManifestEventFormat) 734: this(EventSourceSettings.EtwManifestEventFormat | (throwOnEventWriteErrors ? EventSourceSettings.ThrowOnEventWriteErrors : 0)) 740protected EventSource(EventSourceSettings settings) : this(settings, null) { } 751protected EventSource(EventSourceSettings settings, params string[] traits) 1456: this(eventSourceGuid, eventSourceName, EventSourceSettings.EtwManifestEventFormat) 1460internal EventSource(Guid eventSourceGuid, string eventSourceName, EventSourceSettings settings, string[] traits = null) 3955private EventSourceSettings ValidateSettings(EventSourceSettings settings) 3957var evtFormatMask = EventSourceSettings.EtwManifestEventFormat | 3958EventSourceSettings.EtwSelfDescribingEventFormat; 3964settings |= EventSourceSettings.EtwSelfDescribingEventFormat; 3970get { return (m_config & EventSourceSettings.ThrowOnEventWriteErrors) != 0; } 3973if (value) m_config |= EventSourceSettings.ThrowOnEventWriteErrors; 3974else m_config &= ~EventSourceSettings.ThrowOnEventWriteErrors; 3982Contract.Assert(((m_config & EventSourceSettings.EtwManifestEventFormat) != 0) != 3983((m_config & EventSourceSettings.EtwSelfDescribingEventFormat) != 0)); 3984return (m_config & EventSourceSettings.EtwSelfDescribingEventFormat) != 0; 3990m_config |= EventSourceSettings.EtwManifestEventFormat; 3991m_config &= ~EventSourceSettings.EtwSelfDescribingEventFormat; 3995m_config |= EventSourceSettings.EtwSelfDescribingEventFormat; 3996m_config &= ~EventSourceSettings.EtwManifestEventFormat; 4052private EventSourceSettings m_config; // configuration information
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (3)
52: this(eventSourceName, EventSourceSettings.EtwSelfDescribingEventFormat) 66EventSourceSettings config) 85EventSourceSettings config,