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: 0x02000689 RID: 1673
|
|
[Token(Token = "0x2000689")]
|
|
[Flags]
|
|
public enum EventSourceSettings
|
|
{
|
|
/// <summary>None of the special configuration options are enabled.</summary>
|
|
// Token: 0x04001B7F RID: 7039
|
|
[Token(Token = "0x4001B7F")]
|
|
Default = 0,
|
|
/// <summary>The event source throws an exception when an error occurs.</summary>
|
|
// Token: 0x04001B80 RID: 7040
|
|
[Token(Token = "0x4001B80")]
|
|
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: 0x04001B81 RID: 7041
|
|
[Token(Token = "0x4001B81")]
|
|
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: 0x04001B82 RID: 7042
|
|
[Token(Token = "0x4001B82")]
|
|
EtwSelfDescribingEventFormat = 8
|
|
}
|
|
}
|