30 lines
1.5 KiB
C#
30 lines
1.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Diagnostics.Tracing
|
|
{
|
|
/// <summary>Specifies configuration options for an event source.</summary>
|
|
// Token: 0x020006AA RID: 1706
|
|
[Token(Token = "0x20006AA")]
|
|
[Flags]
|
|
public enum EventSourceSettings
|
|
{
|
|
/// <summary>None of the special configuration options are enabled.</summary>
|
|
// Token: 0x04001C42 RID: 7234
|
|
[Token(Token = "0x4001C42")]
|
|
Default = 0,
|
|
/// <summary>The event source throws an exception when an error occurs.</summary>
|
|
// Token: 0x04001C43 RID: 7235
|
|
[Token(Token = "0x4001C43")]
|
|
ThrowOnEventWriteErrors = 1,
|
|
/// <summary>The ETW listener should use a manifest-based format when raising events. Setting this option is a directive to the ETW listener should use manifest-based format when raising events. This is the default option when defining a type derived from <see cref="T:System.Diagnostics.Tracing.EventSource" /> using one of the protected <see cref="T:System.Diagnostics.Tracing.EventSource" /> constructors.</summary>
|
|
// Token: 0x04001C44 RID: 7236
|
|
[Token(Token = "0x4001C44")]
|
|
EtwManifestEventFormat = 4,
|
|
/// <summary>The ETW listener should use self-describing event format. This is the default option when creating a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource" /> using one of the public <see cref="T:System.Diagnostics.Tracing.EventSource" /> constructors.</summary>
|
|
// Token: 0x04001C45 RID: 7237
|
|
[Token(Token = "0x4001C45")]
|
|
EtwSelfDescribingEventFormat = 8
|
|
}
|
|
}
|