180 lines
8.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Type Name="SourceLevels" FullName="System.Diagnostics.SourceLevels">
<TypeSignature Language="C#" Value="public enum SourceLevels" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SourceLevels extends System.Enum" />
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Attributes>
<Attribute>
<AttributeName>System.Flags</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The source levels identify the <see cref="T:System.Diagnostics.TraceEventType" /> events that are to be traced. The <see cref="T:System.Diagnostics.SourceSwitch" /> class uses the <see cref="T:System.Diagnostics.SourceLevels" /> enumeration to define the event level of the trace message to use for filtering messages to send to the trace listener. </para>
<para>The <see cref="T:System.Diagnostics.EventTypeFilter" /> class uses the <see cref="T:System.Diagnostics.SourceLevels" /> enumeration to determine whether a trace listener should emit a trace.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies the levels of trace messages filtered by the source switch and event type filter.</para>
</summary>
</Docs>
<Members>
<Member MemberName="ActivityTracing">
<MemberSignature Language="C#" Value="ActivityTracing" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Diagnostics.SourceLevels ActivityTracing = int32(65280)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Diagnostics.SourceLevels</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Allows the <see cref="F:System.Diagnostics.TraceEventType.Stop" />, <see cref="F:System.Diagnostics.TraceEventType.Start" />, <see cref="F:System.Diagnostics.TraceEventType.Suspend" />, <see cref="F:System.Diagnostics.TraceEventType.Transfer" />, and <see cref="F:System.Diagnostics.TraceEventType.Resume" /> events through.</para>
</summary>
</Docs>
</Member>
<Member MemberName="All">
<MemberSignature Language="C#" Value="All" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Diagnostics.SourceLevels All = int32(-1)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Diagnostics.SourceLevels</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Allows all events through.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Critical">
<MemberSignature Language="C#" Value="Critical" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Diagnostics.SourceLevels Critical = int32(1)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Diagnostics.SourceLevels</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Allows only <see cref="F:System.Diagnostics.TraceEventType.Critical" /> events through.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Error">
<MemberSignature Language="C#" Value="Error" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Diagnostics.SourceLevels Error = int32(3)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Diagnostics.SourceLevels</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" /> and <see cref="F:System.Diagnostics.TraceEventType.Error" /> events through.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Information">
<MemberSignature Language="C#" Value="Information" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Diagnostics.SourceLevels Information = int32(15)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Diagnostics.SourceLevels</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" />, <see cref="F:System.Diagnostics.TraceEventType.Error" />, <see cref="F:System.Diagnostics.TraceEventType.Warning" />, and <see cref="F:System.Diagnostics.TraceEventType.Information" /> events through.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Off">
<MemberSignature Language="C#" Value="Off" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Diagnostics.SourceLevels Off = int32(0)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Diagnostics.SourceLevels</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Does not allow any events through.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Verbose">
<MemberSignature Language="C#" Value="Verbose" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Diagnostics.SourceLevels Verbose = int32(31)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Diagnostics.SourceLevels</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" />, <see cref="F:System.Diagnostics.TraceEventType.Error" />, <see cref="F:System.Diagnostics.TraceEventType.Warning" />, <see cref="F:System.Diagnostics.TraceEventType.Information" />, and <see cref="F:System.Diagnostics.TraceEventType.Verbose" /> events through.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Warning">
<MemberSignature Language="C#" Value="Warning" />
<MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Diagnostics.SourceLevels Warning = int32(7)" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Diagnostics.SourceLevels</ReturnType>
</ReturnValue>
<Docs>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" />, <see cref="F:System.Diagnostics.TraceEventType.Error" />, and <see cref="F:System.Diagnostics.TraceEventType.Warning" /> events through.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>