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