Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Diagnostics/Tracing/EventSourceOptions.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

84 lines
2.7 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Diagnostics.Tracing
{
/// <summary>Specifies overrides of default event settings such as the log level, keywords and operation code when the <see cref="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions,``0)" /> method is called.</summary>
// Token: 0x02000657 RID: 1623
[Token(Token = "0x2000657")]
public struct EventSourceOptions
{
/// <summary>Gets or sets the event level applied to the event.</summary>
/// <returns>The event level for the event. If not set, the default is Verbose (5).</returns>
// Token: 0x170007F2 RID: 2034
// (set) Token: 0x060031E9 RID: 12777 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170007F2")]
public EventLevel Level
{
[Token(Token = "0x60031E9")]
[Address(RVA = "0x722D10", Offset = "0x721D10", VA = "0x180722D10")]
set
{
}
}
/// <summary>Gets or sets the operation code to use for the specified event.</summary>
/// <returns>The operation code to use for the specified event. If not set, the default is <see langword="Info" /> (0).</returns>
// Token: 0x170007F3 RID: 2035
// (set) Token: 0x060031EA RID: 12778 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170007F3")]
public EventOpcode Opcode
{
[Token(Token = "0x60031EA")]
[Address(RVA = "0x722D70", Offset = "0x721D70", VA = "0x180722D70")]
set
{
}
}
/// <summary>Gets or sets the keywords applied to the event. If this property is not set, the event's keywords will be <see langword="None" />.</summary>
/// <returns>The keywords applied to the event, or <see langword="None" /> if no keywords are set.</returns>
// Token: 0x170007F4 RID: 2036
// (set) Token: 0x060031EB RID: 12779 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170007F4")]
public EventKeywords Keywords
{
[Token(Token = "0x60031EB")]
[Address(RVA = "0x722D00", Offset = "0x721D00", VA = "0x180722D00")]
set
{
}
}
// Token: 0x04001B69 RID: 7017
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001B69")]
internal EventKeywords keywords;
// Token: 0x04001B6A RID: 7018
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4001B6A")]
internal EventTags tags;
// Token: 0x04001B6B RID: 7019
[FieldOffset(Offset = "0xC")]
[Token(Token = "0x4001B6B")]
internal EventActivityOptions activityOptions;
// Token: 0x04001B6C RID: 7020
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001B6C")]
internal byte level;
// Token: 0x04001B6D RID: 7021
[FieldOffset(Offset = "0x11")]
[Token(Token = "0x4001B6D")]
internal byte opcode;
// Token: 0x04001B6E RID: 7022
[FieldOffset(Offset = "0x12")]
[Token(Token = "0x4001B6E")]
internal byte valuesSet;
}
}