1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Diagnostics.TraceSource</name>
7 <member name="T:System.Diagnostics.BooleanSwitch">
8 <summary>Provides a simple on/off switch that controls debugging and tracing output.</summary>
10 <member name="M:System.Diagnostics.BooleanSwitch.#ctor(System.String,System.String)">
11 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.BooleanSwitch" /> class with the specified display name and description.</summary>
12 <param name="displayName">The name to display on a user interface.</param>
13 <param name="description">The description of the switch.</param>
15 <member name="M:System.Diagnostics.BooleanSwitch.#ctor(System.String,System.String,System.String)">
16 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.BooleanSwitch" /> class with the specified display name, description, and default switch value.</summary>
17 <param name="displayName">The name to display on the user interface.</param>
18 <param name="description">The description of the switch.</param>
19 <param name="defaultSwitchValue">The default value of the switch.</param>
21 <member name="P:System.Diagnostics.BooleanSwitch.Enabled">
22 <summary>Gets or sets a value indicating whether the switch is enabled or disabled.</summary>
24 <see langword="true" /> if the switch is enabled; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
25 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permission.</exception>
27 <member name="M:System.Diagnostics.BooleanSwitch.OnValueChanged">
28 <summary>Determines whether the new value of the <see cref="P:System.Diagnostics.Switch.Value" /> property can be parsed as a Boolean value.</summary>
30 <member name="T:System.Diagnostics.CorrelationManager">
31 <summary>Correlates traces that are part of a logical transaction.</summary>
33 <member name="P:System.Diagnostics.CorrelationManager.ActivityId">
34 <summary>Gets or sets the identity for a global activity.</summary>
35 <returns>A <see cref="T:System.Guid" /> structure that identifies the global activity.</returns>
37 <member name="P:System.Diagnostics.CorrelationManager.LogicalOperationStack">
38 <summary>Gets the logical operation stack from the call context.</summary>
39 <returns>A <see cref="T:System.Collections.Stack" /> object that represents the logical operation stack for the call context.</returns>
41 <member name="M:System.Diagnostics.CorrelationManager.StartLogicalOperation">
42 <summary>Starts a logical operation on a thread.</summary>
44 <member name="M:System.Diagnostics.CorrelationManager.StartLogicalOperation(System.Object)">
45 <summary>Starts a logical operation with the specified identity on a thread.</summary>
46 <param name="operationId">An object identifying the operation.</param>
47 <exception cref="T:System.ArgumentNullException">The <paramref name="operationId" /> parameter is <see langword="null" />.</exception>
49 <member name="M:System.Diagnostics.CorrelationManager.StopLogicalOperation">
50 <summary>Stops the current logical operation.</summary>
51 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Diagnostics.CorrelationManager.LogicalOperationStack" /> property is an empty stack.</exception>
53 <member name="T:System.Diagnostics.DefaultTraceListener">
54 <summary>Provides the default output methods and behavior for tracing.</summary>
56 <member name="M:System.Diagnostics.DefaultTraceListener.#ctor">
57 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DefaultTraceListener" /> class with "Default" as its <see cref="P:System.Diagnostics.TraceListener.Name" /> property value.</summary>
59 <member name="P:System.Diagnostics.DefaultTraceListener.AssertUiEnabled">
60 <summary>Gets or sets a value indicating whether the application is running in user-interface mode.</summary>
62 <see langword="true" /> if user-interface mode is enabled; otherwise, <see langword="false" />.</returns>
64 <member name="M:System.Diagnostics.DefaultTraceListener.Fail(System.String)">
65 <summary>Emits or displays a message and a stack trace for an assertion that always fails.</summary>
66 <param name="message">The message to emit or display.</param>
68 <member name="M:System.Diagnostics.DefaultTraceListener.Fail(System.String,System.String)">
69 <summary>Emits or displays detailed messages and a stack trace for an assertion that always fails.</summary>
70 <param name="message">The message to emit or display.</param>
71 <param name="detailMessage">The detailed message to emit or display.</param>
73 <member name="P:System.Diagnostics.DefaultTraceListener.LogFileName">
74 <summary>Gets or sets the name of a log file to write trace or debug messages to.</summary>
75 <returns>The name of a log file to write trace or debug messages to.</returns>
77 <member name="M:System.Diagnostics.DefaultTraceListener.Write(System.String)">
78 <summary>Writes the output to the <see langword="OutputDebugString" /> function and to the <see cref="M:System.Diagnostics.Debugger.Log(System.Int32,System.String,System.String)" /> method.</summary>
79 <param name="message">The message to write to <see langword="OutputDebugString" /> and <see cref="M:System.Diagnostics.Debugger.Log(System.Int32,System.String,System.String)" />.</param>
81 <member name="M:System.Diagnostics.DefaultTraceListener.WriteLine(System.String)">
82 <summary>Writes the output to the <see langword="OutputDebugString" /> function and to the <see cref="M:System.Diagnostics.Debugger.Log(System.Int32,System.String,System.String)" /> method, followed by a carriage return and line feed (\r\n).</summary>
83 <param name="message">The message to write to <see langword="OutputDebugString" /> and <see cref="M:System.Diagnostics.Debugger.Log(System.Int32,System.String,System.String)" />.</param>
85 <member name="T:System.Diagnostics.EventTypeFilter">
86 <summary>Indicates whether a listener should trace based on the event type.</summary>
88 <member name="M:System.Diagnostics.EventTypeFilter.#ctor(System.Diagnostics.SourceLevels)">
89 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.EventTypeFilter" /> class.</summary>
90 <param name="level">A bitwise combination of the <see cref="T:System.Diagnostics.SourceLevels" /> values that specifies the event type of the messages to trace.</param>
92 <member name="P:System.Diagnostics.EventTypeFilter.EventType">
93 <summary>Gets or sets the event type of the messages to trace.</summary>
94 <returns>A bitwise combination of the <see cref="T:System.Diagnostics.SourceLevels" /> values.</returns>
96 <member name="M:System.Diagnostics.EventTypeFilter.ShouldTrace(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[],System.Object,System.Object[])">
97 <summary>Determines whether the trace listener should trace the event.</summary>
98 <param name="cache">A <see cref="T:System.Diagnostics.TraceEventCache" /> that represents the information cache for the trace event.</param>
99 <param name="source">The name of the source.</param>
100 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType" /> values.</param>
101 <param name="id">A trace identifier number.</param>
102 <param name="formatOrMessage">The format to use for writing an array of arguments, or a message to write.</param>
103 <param name="args">An array of argument objects.</param>
104 <param name="data1">A trace data object.</param>
105 <param name="data">An array of trace data objects.</param>
107 <see langword="true" /> if the trace should be produced; otherwise, <see langword="false" />.</returns>
109 <member name="T:System.Diagnostics.SourceFilter">
110 <summary>Indicates whether a listener should trace a message based on the source of a trace.</summary>
112 <member name="M:System.Diagnostics.SourceFilter.#ctor(System.String)">
113 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SourceFilter" /> class, specifying the name of the trace source.</summary>
114 <param name="source">The name of the trace source.</param>
116 <member name="M:System.Diagnostics.SourceFilter.ShouldTrace(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[],System.Object,System.Object[])">
117 <summary>Determines whether the trace listener should trace the event.</summary>
118 <param name="cache">An object that represents the information cache for the trace event.</param>
119 <param name="source">The name of the source.</param>
120 <param name="eventType">One of the enumeration values that identifies the event type.</param>
121 <param name="id">A trace identifier number.</param>
122 <param name="formatOrMessage">The format to use for writing an array of arguments or a message to write.</param>
123 <param name="args">An array of argument objects.</param>
124 <param name="data1">A trace data object.</param>
125 <param name="data">An array of trace data objects.</param>
127 <see langword="true" /> if the trace should be produced; otherwise, <see langword="false" />.</returns>
128 <exception cref="T:System.ArgumentNullException">
129 <paramref name="source" /> is <see langword="null" />.</exception>
131 <member name="P:System.Diagnostics.SourceFilter.Source">
132 <summary>Gets or sets the name of the trace source.</summary>
133 <returns>The name of the trace source.</returns>
134 <exception cref="T:System.ArgumentNullException">The value is <see langword="null" />.</exception>
136 <member name="T:System.Diagnostics.SourceLevels">
137 <summary>Specifies the levels of trace messages filtered by the source switch and event type filter.</summary>
139 <member name="F:System.Diagnostics.SourceLevels.ActivityTracing">
140 <summary>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.</summary>
142 <member name="F:System.Diagnostics.SourceLevels.All">
143 <summary>Allows all events through.</summary>
145 <member name="F:System.Diagnostics.SourceLevels.Critical">
146 <summary>Allows only <see cref="F:System.Diagnostics.TraceEventType.Critical" /> events through.</summary>
148 <member name="F:System.Diagnostics.SourceLevels.Error">
149 <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" /> and <see cref="F:System.Diagnostics.TraceEventType.Error" /> events through.</summary>
151 <member name="F:System.Diagnostics.SourceLevels.Information">
152 <summary>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.</summary>
154 <member name="F:System.Diagnostics.SourceLevels.Off">
155 <summary>Does not allow any events through.</summary>
157 <member name="F:System.Diagnostics.SourceLevels.Verbose">
158 <summary>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.</summary>
160 <member name="F:System.Diagnostics.SourceLevels.Warning">
161 <summary>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.</summary>
163 <member name="T:System.Diagnostics.SourceSwitch">
164 <summary>Provides a multilevel switch to control tracing and debug output without recompiling your code.</summary>
166 <member name="M:System.Diagnostics.SourceSwitch.#ctor(System.String)">
167 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SourceSwitch" /> class, specifying the name of the source.</summary>
168 <param name="name">The name of the source.</param>
170 <member name="M:System.Diagnostics.SourceSwitch.#ctor(System.String,System.String)">
171 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SourceSwitch" /> class, specifying the display name and the default value for the source switch.</summary>
172 <param name="displayName">The name of the source switch.</param>
173 <param name="defaultSwitchValue">The default value for the switch.</param>
175 <member name="P:System.Diagnostics.SourceSwitch.Level">
176 <summary>Gets or sets the level of the switch.</summary>
177 <returns>One of the <see cref="T:System.Diagnostics.SourceLevels" /> values that represents the event level of the switch.</returns>
179 <member name="M:System.Diagnostics.SourceSwitch.OnValueChanged">
180 <summary>Invoked when the value of the <see cref="P:System.Diagnostics.Switch.Value" /> property changes.</summary>
181 <exception cref="T:System.ArgumentException">The new value of <see cref="P:System.Diagnostics.Switch.Value" /> is not one of the <see cref="T:System.Diagnostics.SourceLevels" /> values.</exception>
183 <member name="M:System.Diagnostics.SourceSwitch.ShouldTrace(System.Diagnostics.TraceEventType)">
184 <summary>Determines if trace listeners should be called, based on the trace event type.</summary>
185 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType" /> values.</param>
187 <see langword="true" /> if the trace listeners should be called; otherwise, <see langword="false" />.</returns>
189 <member name="T:System.Diagnostics.Switch">
190 <summary>Provides an abstract base class to create new debugging and tracing switches.</summary>
192 <member name="M:System.Diagnostics.Switch.#ctor(System.String,System.String)">
193 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Switch" /> class.</summary>
194 <param name="displayName">The name of the switch.</param>
195 <param name="description">The description for the switch.</param>
197 <member name="M:System.Diagnostics.Switch.#ctor(System.String,System.String,System.String)">
198 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Switch" /> class, specifying the display name, description, and default value for the switch.</summary>
199 <param name="displayName">The name of the switch.</param>
200 <param name="description">The description of the switch.</param>
201 <param name="defaultSwitchValue">The default value for the switch.</param>
203 <member name="P:System.Diagnostics.Switch.Attributes">
204 <summary>Gets the custom switch attributes defined in the application configuration file.</summary>
205 <returns>A <see cref="T:System.Collections.Specialized.StringDictionary" /> containing the case-insensitive custom attributes for the trace switch.</returns>
207 <member name="P:System.Diagnostics.Switch.Description">
208 <summary>Gets a description of the switch.</summary>
209 <returns>The description of the switch. The default value is an empty string ("").</returns>
211 <member name="P:System.Diagnostics.Switch.DisplayName">
212 <summary>Gets a name used to identify the switch.</summary>
213 <returns>The name used to identify the switch. The default value is an empty string ("").</returns>
215 <member name="M:System.Diagnostics.Switch.GetSupportedAttributes">
216 <summary>Gets the custom attributes supported by the switch.</summary>
217 <returns>A string array that contains the names of the custom attributes supported by the switch, or <see langword="null" /> if there no custom attributes are supported.</returns>
219 <member name="M:System.Diagnostics.Switch.OnSwitchSettingChanged">
220 <summary>Invoked when the <see cref="P:System.Diagnostics.Switch.SwitchSetting" /> property is changed.</summary>
222 <member name="M:System.Diagnostics.Switch.OnValueChanged">
223 <summary>Invoked when the <see cref="P:System.Diagnostics.Switch.Value" /> property is changed.</summary>
225 <member name="P:System.Diagnostics.Switch.SwitchSetting">
226 <summary>Gets or sets the current setting for this switch.</summary>
227 <returns>The current setting for this switch. The default is zero.</returns>
229 <member name="P:System.Diagnostics.Switch.Value">
230 <summary>Gets or sets the value of the switch.</summary>
231 <returns>A string representing the value of the switch.</returns>
232 <exception cref="T:System.Configuration.ConfigurationErrorsException">The value is <see langword="null" />.
234 The value does not consist solely of an optional negative sign followed by a sequence of digits ranging from 0 to 9.
236 The value represents a number less than <see cref="F:System.Int32.MinValue" /> or greater than <see cref="F:System.Int32.MaxValue" />.</exception>
238 <member name="T:System.Diagnostics.SwitchAttribute">
239 <summary>Identifies a switch used in an assembly, class, or member.</summary>
241 <member name="M:System.Diagnostics.SwitchAttribute.#ctor(System.String,System.Type)">
242 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SwitchAttribute" /> class, specifying the name and the type of the switch.</summary>
243 <param name="switchName">The display name of the switch.</param>
244 <param name="switchType">The type of the switch.</param>
246 <member name="M:System.Diagnostics.SwitchAttribute.GetAll(System.Reflection.Assembly)">
247 <summary>Returns all switch attributes for the specified assembly.</summary>
248 <param name="assembly">The assembly to check for switch attributes.</param>
249 <returns>An array that contains all the switch attributes for the assembly.</returns>
250 <exception cref="T:System.ArgumentNullException">
251 <paramref name="assembly" /> is <see langword="null" />.</exception>
253 <member name="P:System.Diagnostics.SwitchAttribute.SwitchDescription">
254 <summary>Gets or sets the description of the switch.</summary>
255 <returns>The description of the switch.</returns>
257 <member name="P:System.Diagnostics.SwitchAttribute.SwitchName">
258 <summary>Gets or sets the display name of the switch.</summary>
259 <returns>The display name of the switch.</returns>
260 <exception cref="T:System.ArgumentNullException">
261 <see cref="P:System.Diagnostics.SwitchAttribute.SwitchName" /> is set to <see langword="null" />.</exception>
262 <exception cref="T:System.ArgumentException">
263 <see cref="P:System.Diagnostics.SwitchAttribute.SwitchName" /> is set to an empty string.</exception>
265 <member name="P:System.Diagnostics.SwitchAttribute.SwitchType">
266 <summary>Gets or sets the type of the switch.</summary>
267 <returns>The type of the switch.</returns>
268 <exception cref="T:System.ArgumentNullException">
269 <see cref="P:System.Diagnostics.SwitchAttribute.SwitchType" /> is set to <see langword="null" />.</exception>
271 <member name="T:System.Diagnostics.SwitchLevelAttribute">
272 <summary>Identifies the level type for a switch.</summary>
274 <member name="M:System.Diagnostics.SwitchLevelAttribute.#ctor(System.Type)">
275 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SwitchLevelAttribute" /> class, specifying the type that determines whether a trace should be written.</summary>
276 <param name="switchLevelType">The <see cref="T:System.Type" /> that determines whether a trace should be written.</param>
278 <member name="P:System.Diagnostics.SwitchLevelAttribute.SwitchLevelType">
279 <summary>Gets or sets the type that determines whether a trace should be written.</summary>
280 <returns>The <see cref="T:System.Type" /> that determines whether a trace should be written.</returns>
281 <exception cref="T:System.ArgumentNullException">The set operation failed because the value is <see langword="null" />.</exception>
283 <member name="T:System.Diagnostics.Trace">
284 <summary>Provides a set of methods and properties that help you trace the execution of your code. This class cannot be inherited.</summary>
286 <member name="M:System.Diagnostics.Trace.Assert(System.Boolean)">
287 <summary>Checks for a condition; if the condition is <see langword="false" />, displays a message box that shows the call stack.</summary>
288 <param name="condition">The conditional expression to evaluate. If the condition is <see langword="true" />, a failure message is not sent and the message box is not displayed.</param>
290 <member name="M:System.Diagnostics.Trace.Assert(System.Boolean,System.String)">
291 <summary>Checks for a condition; if the condition is <see langword="false" />, outputs a specified message and displays a message box that shows the call stack.</summary>
292 <param name="condition">The conditional expression to evaluate. If the condition is <see langword="true" />, the specified message is not sent and the message box is not displayed.</param>
293 <param name="message">The message to send to the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</param>
295 <member name="M:System.Diagnostics.Trace.Assert(System.Boolean,System.String,System.String)">
296 <summary>Checks for a condition; if the condition is <see langword="false" />, outputs two specified messages and displays a message box that shows the call stack.</summary>
297 <param name="condition">The conditional expression to evaluate. If the condition is <see langword="true" />, the specified messages are not sent and the message box is not displayed.</param>
298 <param name="message">The message to send to the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</param>
299 <param name="detailMessage">The detailed message to send to the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</param>
301 <member name="P:System.Diagnostics.Trace.AutoFlush">
302 <summary>Gets or sets whether <see cref="M:System.Diagnostics.Trace.Flush" /> should be called on the <see cref="P:System.Diagnostics.Trace.Listeners" /> after every write.</summary>
304 <see langword="true" /> if <see cref="M:System.Diagnostics.Trace.Flush" /> is called on the <see cref="P:System.Diagnostics.Trace.Listeners" /> after every write; otherwise, <see langword="false" />.</returns>
306 <member name="M:System.Diagnostics.Trace.Close">
307 <summary>Flushes the output buffer, and then closes the <see cref="P:System.Diagnostics.Trace.Listeners" />.</summary>
309 <member name="P:System.Diagnostics.Trace.CorrelationManager">
310 <summary>Gets the correlation manager for the thread for this trace.</summary>
311 <returns>The <see cref="T:System.Diagnostics.CorrelationManager" /> object associated with the thread for this trace.</returns>
313 <member name="M:System.Diagnostics.Trace.Fail(System.String)">
314 <summary>Emits the specified error message.</summary>
315 <param name="message">A message to emit.</param>
317 <member name="M:System.Diagnostics.Trace.Fail(System.String,System.String)">
318 <summary>Emits an error message, and a detailed error message.</summary>
319 <param name="message">A message to emit.</param>
320 <param name="detailMessage">A detailed message to emit.</param>
322 <member name="M:System.Diagnostics.Trace.Flush">
323 <summary>Flushes the output buffer, and causes buffered data to be written to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</summary>
325 <member name="M:System.Diagnostics.Trace.Indent">
326 <summary>Increases the current <see cref="P:System.Diagnostics.Trace.IndentLevel" /> by one.</summary>
328 <member name="P:System.Diagnostics.Trace.IndentLevel">
329 <summary>Gets or sets the indent level.</summary>
330 <returns>The indent level. The default is zero.</returns>
332 <member name="P:System.Diagnostics.Trace.IndentSize">
333 <summary>Gets or sets the number of spaces in an indent.</summary>
334 <returns>The number of spaces in an indent. The default is four.</returns>
336 <member name="P:System.Diagnostics.Trace.Listeners">
337 <summary>Gets the collection of listeners that is monitoring the trace output.</summary>
338 <returns>A <see cref="T:System.Diagnostics.TraceListenerCollection" /> that represents a collection of type <see cref="T:System.Diagnostics.TraceListener" /> monitoring the trace output.</returns>
340 <member name="M:System.Diagnostics.Trace.Refresh">
341 <summary>Refreshes the trace configuration data.</summary>
343 <member name="M:System.Diagnostics.Trace.TraceError(System.String)">
344 <summary>Writes an error message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection using the specified message.</summary>
345 <param name="message">The informative message to write.</param>
347 <member name="M:System.Diagnostics.Trace.TraceError(System.String,System.Object[])">
348 <summary>Writes an error message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection using the specified array of objects and formatting information.</summary>
349 <param name="format">A format string that contains zero or more format items, which correspond to objects in the <paramref name="args" /> array.</param>
350 <param name="args">An <see langword="object" /> array containing zero or more objects to format.</param>
352 <member name="M:System.Diagnostics.Trace.TraceInformation(System.String)">
353 <summary>Writes an informational message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection using the specified message.</summary>
354 <param name="message">The informative message to write.</param>
356 <member name="M:System.Diagnostics.Trace.TraceInformation(System.String,System.Object[])">
357 <summary>Writes an informational message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection using the specified array of objects and formatting information.</summary>
358 <param name="format">A format string that contains zero or more format items, which correspond to objects in the <paramref name="args" /> array.</param>
359 <param name="args">An <see langword="object" /> array containing zero or more objects to format.</param>
361 <member name="M:System.Diagnostics.Trace.TraceWarning(System.String)">
362 <summary>Writes a warning message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection using the specified message.</summary>
363 <param name="message">The informative message to write.</param>
365 <member name="M:System.Diagnostics.Trace.TraceWarning(System.String,System.Object[])">
366 <summary>Writes a warning message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection using the specified array of objects and formatting information.</summary>
367 <param name="format">A format string that contains zero or more format items, which correspond to objects in the <paramref name="args" /> array.</param>
368 <param name="args">An <see langword="object" /> array containing zero or more objects to format.</param>
370 <member name="M:System.Diagnostics.Trace.Unindent">
371 <summary>Decreases the current <see cref="P:System.Diagnostics.Trace.IndentLevel" /> by one.</summary>
373 <member name="P:System.Diagnostics.Trace.UseGlobalLock">
374 <summary>Gets or sets a value indicating whether the global lock should be used.</summary>
376 <see langword="true" /> if the global lock is to be used; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
378 <member name="M:System.Diagnostics.Trace.Write(System.Object)">
379 <summary>Writes the value of the object's <see cref="M:System.Object.ToString" /> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</summary>
380 <param name="value">An <see cref="T:System.Object" /> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</param>
382 <member name="M:System.Diagnostics.Trace.Write(System.Object,System.String)">
383 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString" /> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</summary>
384 <param name="value">An <see cref="T:System.Object" /> name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</param>
385 <param name="category">A category name used to organize the output.</param>
387 <member name="M:System.Diagnostics.Trace.Write(System.String)">
388 <summary>Writes a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</summary>
389 <param name="message">A message to write.</param>
391 <member name="M:System.Diagnostics.Trace.Write(System.String,System.String)">
392 <summary>Writes a category name and a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</summary>
393 <param name="message">A message to write.</param>
394 <param name="category">A category name used to organize the output.</param>
396 <member name="M:System.Diagnostics.Trace.WriteIf(System.Boolean,System.Object)">
397 <summary>Writes the value of the object's <see cref="M:System.Object.ToString" /> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection if a condition is <see langword="true" />.</summary>
398 <param name="condition">
399 <see langword="true" /> to cause a message to be written; otherwise, <see langword="false" />.</param>
400 <param name="value">An <see cref="T:System.Object" /> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</param>
402 <member name="M:System.Diagnostics.Trace.WriteIf(System.Boolean,System.Object,System.String)">
403 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString" /> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection if a condition is <see langword="true" />.</summary>
404 <param name="condition">
405 <see langword="true" /> to cause a message to be written; otherwise, <see langword="false" />.</param>
406 <param name="value">An <see cref="T:System.Object" /> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</param>
407 <param name="category">A category name used to organize the output.</param>
409 <member name="M:System.Diagnostics.Trace.WriteIf(System.Boolean,System.String)">
410 <summary>Writes a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection if a condition is <see langword="true" />.</summary>
411 <param name="condition">
412 <see langword="true" /> to cause a message to be written; otherwise, <see langword="false" />.</param>
413 <param name="message">A message to write.</param>
415 <member name="M:System.Diagnostics.Trace.WriteIf(System.Boolean,System.String,System.String)">
416 <summary>Writes a category name and message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection if a condition is <see langword="true" />.</summary>
417 <param name="condition">
418 <see langword="true" /> to cause a message to be written; otherwise, <see langword="false" />.</param>
419 <param name="message">A message to write.</param>
420 <param name="category">A category name used to organize the output.</param>
422 <member name="M:System.Diagnostics.Trace.WriteLine(System.Object)">
423 <summary>Writes the value of the object's <see cref="M:System.Object.ToString" /> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</summary>
424 <param name="value">An <see cref="T:System.Object" /> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</param>
426 <member name="M:System.Diagnostics.Trace.WriteLine(System.Object,System.String)">
427 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString" /> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</summary>
428 <param name="value">An <see cref="T:System.Object" /> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</param>
429 <param name="category">A category name used to organize the output.</param>
431 <member name="M:System.Diagnostics.Trace.WriteLine(System.String)">
432 <summary>Writes a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</summary>
433 <param name="message">A message to write.</param>
435 <member name="M:System.Diagnostics.Trace.WriteLine(System.String,System.String)">
436 <summary>Writes a category name and message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection.</summary>
437 <param name="message">A message to write.</param>
438 <param name="category">A category name used to organize the output.</param>
440 <member name="M:System.Diagnostics.Trace.WriteLineIf(System.Boolean,System.Object)">
441 <summary>Writes the value of the object's <see cref="M:System.Object.ToString" /> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection if a condition is <see langword="true" />.</summary>
442 <param name="condition">
443 <see langword="true" /> to cause a message to be written; otherwise, <see langword="false" />.</param>
444 <param name="value">An <see cref="T:System.Object" /> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</param>
446 <member name="M:System.Diagnostics.Trace.WriteLineIf(System.Boolean,System.Object,System.String)">
447 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString" /> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection if a condition is <see langword="true" />.</summary>
448 <param name="condition">
449 <see langword="true" /> to cause a message to be written; otherwise, <see langword="false" />.</param>
450 <param name="value">An <see cref="T:System.Object" /> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners" />.</param>
451 <param name="category">A category name used to organize the output.</param>
453 <member name="M:System.Diagnostics.Trace.WriteLineIf(System.Boolean,System.String)">
454 <summary>Writes a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection if a condition is <see langword="true" />.</summary>
455 <param name="condition">
456 <see langword="true" /> to cause a message to be written; otherwise, <see langword="false" />.</param>
457 <param name="message">A message to write.</param>
459 <member name="M:System.Diagnostics.Trace.WriteLineIf(System.Boolean,System.String,System.String)">
460 <summary>Writes a category name and message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners" /> collection if a condition is <see langword="true" />.</summary>
461 <param name="condition">
462 <see langword="true" /> to cause a message to be written; otherwise, <see langword="false" />.</param>
463 <param name="message">A message to write.</param>
464 <param name="category">A category name used to organize the output.</param>
466 <member name="T:System.Diagnostics.TraceEventCache">
467 <summary>Provides trace event data specific to a thread and a process.</summary>
469 <member name="M:System.Diagnostics.TraceEventCache.#ctor">
470 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceEventCache" /> class.</summary>
472 <member name="P:System.Diagnostics.TraceEventCache.Callstack">
473 <summary>Gets the call stack for the current thread.</summary>
474 <returns>A string containing stack trace information. This value can be an empty string ("").</returns>
476 <member name="P:System.Diagnostics.TraceEventCache.DateTime">
477 <summary>Gets the date and time at which the event trace occurred.</summary>
478 <returns>A <see cref="T:System.DateTime" /> structure whose value is a date and time expressed in Coordinated Universal Time (UTC).</returns>
480 <member name="P:System.Diagnostics.TraceEventCache.LogicalOperationStack">
481 <summary>Gets the correlation data, contained in a stack.</summary>
482 <returns>A <see cref="T:System.Collections.Stack" /> containing correlation data.</returns>
484 <member name="P:System.Diagnostics.TraceEventCache.ProcessId">
485 <summary>Gets the unique identifier of the current process.</summary>
486 <returns>The system-generated unique identifier of the current process.</returns>
488 <member name="P:System.Diagnostics.TraceEventCache.ThreadId">
489 <summary>Gets a unique identifier for the current managed thread.</summary>
490 <returns>A string that represents a unique integer identifier for this managed thread.</returns>
492 <member name="P:System.Diagnostics.TraceEventCache.Timestamp">
493 <summary>Gets the current number of ticks in the timer mechanism.</summary>
494 <returns>The tick counter value of the underlying timer mechanism.</returns>
496 <member name="T:System.Diagnostics.TraceEventType">
497 <summary>Identifies the type of event that has caused the trace.</summary>
499 <member name="F:System.Diagnostics.TraceEventType.Critical">
500 <summary>Fatal error or application crash.</summary>
502 <member name="F:System.Diagnostics.TraceEventType.Error">
503 <summary>Recoverable error.</summary>
505 <member name="F:System.Diagnostics.TraceEventType.Information">
506 <summary>Informational message.</summary>
508 <member name="F:System.Diagnostics.TraceEventType.Resume">
509 <summary>Resumption of a logical operation.</summary>
511 <member name="F:System.Diagnostics.TraceEventType.Start">
512 <summary>Starting of a logical operation.</summary>
514 <member name="F:System.Diagnostics.TraceEventType.Stop">
515 <summary>Stopping of a logical operation.</summary>
517 <member name="F:System.Diagnostics.TraceEventType.Suspend">
518 <summary>Suspension of a logical operation.</summary>
520 <member name="F:System.Diagnostics.TraceEventType.Transfer">
521 <summary>Changing of correlation identity.</summary>
523 <member name="F:System.Diagnostics.TraceEventType.Verbose">
524 <summary>Debugging trace.</summary>
526 <member name="F:System.Diagnostics.TraceEventType.Warning">
527 <summary>Noncritical problem.</summary>
529 <member name="T:System.Diagnostics.TraceFilter">
530 <summary>Provides the base class for trace filter implementations.</summary>
532 <member name="M:System.Diagnostics.TraceFilter.#ctor">
533 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceFilter" /> class.</summary>
535 <member name="M:System.Diagnostics.TraceFilter.ShouldTrace(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[],System.Object,System.Object[])">
536 <summary>When overridden in a derived class, determines whether the trace listener should trace the event.</summary>
537 <param name="cache">The <see cref="T:System.Diagnostics.TraceEventCache" /> that contains information for the trace event.</param>
538 <param name="source">The name of the source.</param>
539 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType" /> values specifying the type of event that has caused the trace.</param>
540 <param name="id">A trace identifier number.</param>
541 <param name="formatOrMessage">Either the format to use for writing an array of arguments specified by the <paramref name="args" /> parameter, or a message to write.</param>
542 <param name="args">An array of argument objects.</param>
543 <param name="data1">A trace data object.</param>
544 <param name="data">An array of trace data objects.</param>
546 <see langword="true" /> to trace the specified event; otherwise, <see langword="false" />.</returns>
548 <member name="T:System.Diagnostics.TraceLevel">
549 <summary>Specifies what messages to output for the <see cref="T:System.Diagnostics.Debug" />, <see cref="T:System.Diagnostics.Trace" /> and <see cref="T:System.Diagnostics.TraceSwitch" /> classes.</summary>
551 <member name="F:System.Diagnostics.TraceLevel.Error">
552 <summary>Output error-handling messages.</summary>
554 <member name="F:System.Diagnostics.TraceLevel.Info">
555 <summary>Output informational messages, warnings, and error-handling messages.</summary>
557 <member name="F:System.Diagnostics.TraceLevel.Off">
558 <summary>Output no tracing and debugging messages.</summary>
560 <member name="F:System.Diagnostics.TraceLevel.Verbose">
561 <summary>Output all debugging and tracing messages.</summary>
563 <member name="F:System.Diagnostics.TraceLevel.Warning">
564 <summary>Output warnings and error-handling messages.</summary>
566 <member name="T:System.Diagnostics.TraceListener">
567 <summary>Provides the <see langword="abstract" /> base class for the listeners who monitor trace and debug output.</summary>
569 <member name="M:System.Diagnostics.TraceListener.#ctor">
570 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceListener" /> class.</summary>
572 <member name="M:System.Diagnostics.TraceListener.#ctor(System.String)">
573 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceListener" /> class using the specified name as the listener.</summary>
574 <param name="name">The name of the <see cref="T:System.Diagnostics.TraceListener" />.</param>
576 <member name="P:System.Diagnostics.TraceListener.Attributes">
577 <summary>Gets the custom trace listener attributes defined in the application configuration file.</summary>
578 <returns>A <see cref="T:System.Collections.Specialized.StringDictionary" /> containing the custom attributes for the trace listener.</returns>
580 <member name="M:System.Diagnostics.TraceListener.Close">
581 <summary>When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.</summary>
583 <member name="M:System.Diagnostics.TraceListener.Dispose">
584 <summary>Releases all resources used by the <see cref="T:System.Diagnostics.TraceListener" />.</summary>
586 <member name="M:System.Diagnostics.TraceListener.Dispose(System.Boolean)">
587 <summary>Releases the unmanaged resources used by the <see cref="T:System.Diagnostics.TraceListener" /> and optionally releases the managed resources.</summary>
588 <param name="disposing">
589 <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
591 <member name="M:System.Diagnostics.TraceListener.Fail(System.String)">
592 <summary>Emits an error message to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener" /> class.</summary>
593 <param name="message">A message to emit.</param>
595 <member name="M:System.Diagnostics.TraceListener.Fail(System.String,System.String)">
596 <summary>Emits an error message and a detailed error message to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener" /> class.</summary>
597 <param name="message">A message to emit.</param>
598 <param name="detailMessage">A detailed message to emit.</param>
600 <member name="P:System.Diagnostics.TraceListener.Filter">
601 <summary>Gets or sets the trace filter for the trace listener.</summary>
602 <returns>An object derived from the <see cref="T:System.Diagnostics.TraceFilter" /> base class.</returns>
604 <member name="M:System.Diagnostics.TraceListener.Flush">
605 <summary>When overridden in a derived class, flushes the output buffer.</summary>
607 <member name="M:System.Diagnostics.TraceListener.GetSupportedAttributes">
608 <summary>Gets the custom attributes supported by the trace listener.</summary>
609 <returns>A string array naming the custom attributes supported by the trace listener, or <see langword="null" /> if there are no custom attributes.</returns>
611 <member name="P:System.Diagnostics.TraceListener.IndentLevel">
612 <summary>Gets or sets the indent level.</summary>
613 <returns>The indent level. The default is zero.</returns>
615 <member name="P:System.Diagnostics.TraceListener.IndentSize">
616 <summary>Gets or sets the number of spaces in an indent.</summary>
617 <returns>The number of spaces in an indent. The default is four spaces.</returns>
618 <exception cref="T:System.ArgumentOutOfRangeException">Set operation failed because the value is less than zero.</exception>
620 <member name="P:System.Diagnostics.TraceListener.IsThreadSafe">
621 <summary>Gets a value indicating whether the trace listener is thread safe.</summary>
623 <see langword="true" /> if the trace listener is thread safe; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
625 <member name="P:System.Diagnostics.TraceListener.Name">
626 <summary>Gets or sets a name for this <see cref="T:System.Diagnostics.TraceListener" />.</summary>
627 <returns>A name for this <see cref="T:System.Diagnostics.TraceListener" />. The default is an empty string ("").</returns>
629 <member name="P:System.Diagnostics.TraceListener.NeedIndent">
630 <summary>Gets or sets a value indicating whether to indent the output.</summary>
632 <see langword="true" /> if the output should be indented; otherwise, <see langword="false" />.</returns>
634 <member name="M:System.Diagnostics.TraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object)">
635 <summary>Writes trace information, a data object and event information to the listener specific output.</summary>
636 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache" /> object that contains the current process ID, thread ID, and stack trace information.</param>
637 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
638 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType" /> values specifying the type of event that has caused the trace.</param>
639 <param name="id">A numeric identifier for the event.</param>
640 <param name="data">The trace data to emit.</param>
642 <member name="M:System.Diagnostics.TraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object[])">
643 <summary>Writes trace information, an array of data objects and event information to the listener specific output.</summary>
644 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache" /> object that contains the current process ID, thread ID, and stack trace information.</param>
645 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
646 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType" /> values specifying the type of event that has caused the trace.</param>
647 <param name="id">A numeric identifier for the event.</param>
648 <param name="data">An array of objects to emit as data.</param>
650 <member name="M:System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32)">
651 <summary>Writes trace and event information to the listener specific output.</summary>
652 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache" /> object that contains the current process ID, thread ID, and stack trace information.</param>
653 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
654 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType" /> values specifying the type of event that has caused the trace.</param>
655 <param name="id">A numeric identifier for the event.</param>
657 <member name="M:System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String)">
658 <summary>Writes trace information, a message, and event information to the listener specific output.</summary>
659 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache" /> object that contains the current process ID, thread ID, and stack trace information.</param>
660 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
661 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType" /> values specifying the type of event that has caused the trace.</param>
662 <param name="id">A numeric identifier for the event.</param>
663 <param name="message">A message to write.</param>
665 <member name="M:System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])">
666 <summary>Writes trace information, a formatted array of objects and event information to the listener specific output.</summary>
667 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache" /> object that contains the current process ID, thread ID, and stack trace information.</param>
668 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
669 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType" /> values specifying the type of event that has caused the trace.</param>
670 <param name="id">A numeric identifier for the event.</param>
671 <param name="format">A format string that contains zero or more format items, which correspond to objects in the <paramref name="args" /> array.</param>
672 <param name="args">An <see langword="object" /> array containing zero or more objects to format.</param>
674 <member name="P:System.Diagnostics.TraceListener.TraceOutputOptions">
675 <summary>Gets or sets the trace output options.</summary>
676 <returns>A bitwise combination of the enumeration values. The default is <see cref="F:System.Diagnostics.TraceOptions.None" />.</returns>
677 <exception cref="T:System.ArgumentOutOfRangeException">Set operation failed because the value is invalid.</exception>
679 <member name="M:System.Diagnostics.TraceListener.TraceTransfer(System.Diagnostics.TraceEventCache,System.String,System.Int32,System.String,System.Guid)">
680 <summary>Writes trace information, a message, a related activity identity and event information to the listener specific output.</summary>
681 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache" /> object that contains the current process ID, thread ID, and stack trace information.</param>
682 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
683 <param name="id">A numeric identifier for the event.</param>
684 <param name="message">A message to write.</param>
685 <param name="relatedActivityId">A <see cref="T:System.Guid" /> object identifying a related activity.</param>
687 <member name="M:System.Diagnostics.TraceListener.Write(System.Object)">
688 <summary>Writes the value of the object's <see cref="M:System.Object.ToString" /> method to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener" /> class.</summary>
689 <param name="o">An <see cref="T:System.Object" /> whose fully qualified class name you want to write.</param>
691 <member name="M:System.Diagnostics.TraceListener.Write(System.Object,System.String)">
692 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString" /> method to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener" /> class.</summary>
693 <param name="o">An <see cref="T:System.Object" /> whose fully qualified class name you want to write.</param>
694 <param name="category">A category name used to organize the output.</param>
696 <member name="M:System.Diagnostics.TraceListener.Write(System.String)">
697 <summary>When overridden in a derived class, writes the specified message to the listener you create in the derived class.</summary>
698 <param name="message">A message to write.</param>
700 <member name="M:System.Diagnostics.TraceListener.Write(System.String,System.String)">
701 <summary>Writes a category name and a message to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener" /> class.</summary>
702 <param name="message">A message to write.</param>
703 <param name="category">A category name used to organize the output.</param>
705 <member name="M:System.Diagnostics.TraceListener.WriteIndent">
706 <summary>Writes the indent to the listener you create when you implement this class, and resets the <see cref="P:System.Diagnostics.TraceListener.NeedIndent" /> property to <see langword="false" />.</summary>
708 <member name="M:System.Diagnostics.TraceListener.WriteLine(System.Object)">
709 <summary>Writes the value of the object's <see cref="M:System.Object.ToString" /> method to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener" /> class, followed by a line terminator.</summary>
710 <param name="o">An <see cref="T:System.Object" /> whose fully qualified class name you want to write.</param>
712 <member name="M:System.Diagnostics.TraceListener.WriteLine(System.Object,System.String)">
713 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString" /> method to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener" /> class, followed by a line terminator.</summary>
714 <param name="o">An <see cref="T:System.Object" /> whose fully qualified class name you want to write.</param>
715 <param name="category">A category name used to organize the output.</param>
717 <member name="M:System.Diagnostics.TraceListener.WriteLine(System.String)">
718 <summary>When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator.</summary>
719 <param name="message">A message to write.</param>
721 <member name="M:System.Diagnostics.TraceListener.WriteLine(System.String,System.String)">
722 <summary>Writes a category name and a message to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener" /> class, followed by a line terminator.</summary>
723 <param name="message">A message to write.</param>
724 <param name="category">A category name used to organize the output.</param>
726 <member name="T:System.Diagnostics.TraceListenerCollection">
727 <summary>Provides a thread-safe list of <see cref="T:System.Diagnostics.TraceListener" /> objects.</summary>
729 <member name="M:System.Diagnostics.TraceListenerCollection.Add(System.Diagnostics.TraceListener)">
730 <summary>Adds a <see cref="T:System.Diagnostics.TraceListener" /> to the list.</summary>
731 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener" /> to add to the list.</param>
732 <returns>The position at which the new listener was inserted.</returns>
734 <member name="M:System.Diagnostics.TraceListenerCollection.AddRange(System.Diagnostics.TraceListener[])">
735 <summary>Adds an array of <see cref="T:System.Diagnostics.TraceListener" /> objects to the list.</summary>
736 <param name="value">An array of <see cref="T:System.Diagnostics.TraceListener" /> objects to add to the list.</param>
737 <exception cref="T:System.ArgumentNullException">
738 <paramref name="value" /> is <see langword="null" />.</exception>
740 <member name="M:System.Diagnostics.TraceListenerCollection.AddRange(System.Diagnostics.TraceListenerCollection)">
741 <summary>Adds the contents of another <see cref="T:System.Diagnostics.TraceListenerCollection" /> to the list.</summary>
742 <param name="value">Another <see cref="T:System.Diagnostics.TraceListenerCollection" /> whose contents are added to the list.</param>
743 <exception cref="T:System.ArgumentNullException">
744 <paramref name="value" /> is <see langword="null" />.</exception>
746 <member name="M:System.Diagnostics.TraceListenerCollection.Clear">
747 <summary>Clears all the listeners from the list.</summary>
749 <member name="M:System.Diagnostics.TraceListenerCollection.Contains(System.Diagnostics.TraceListener)">
750 <summary>Checks whether the list contains the specified listener.</summary>
751 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener" /> to find in the list.</param>
753 <see langword="true" /> if the listener is in the list; otherwise, <see langword="false" />.</returns>
755 <member name="M:System.Diagnostics.TraceListenerCollection.CopyTo(System.Diagnostics.TraceListener[],System.Int32)">
756 <summary>Copies a section of the current <see cref="T:System.Diagnostics.TraceListenerCollection" /> list to the specified array at the specified index.</summary>
757 <param name="listeners">An array of type <see cref="T:System.Array" /> to copy the elements into.</param>
758 <param name="index">The starting index number in the current list to copy from.</param>
760 <member name="P:System.Diagnostics.TraceListenerCollection.Count">
761 <summary>Gets the number of listeners in the list.</summary>
762 <returns>The number of listeners in the list.</returns>
764 <member name="M:System.Diagnostics.TraceListenerCollection.GetEnumerator">
765 <summary>Gets an enumerator for this list.</summary>
766 <returns>An enumerator of type <see cref="T:System.Collections.IEnumerator" />.</returns>
768 <member name="M:System.Diagnostics.TraceListenerCollection.IndexOf(System.Diagnostics.TraceListener)">
769 <summary>Gets the index of the specified listener.</summary>
770 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener" /> to find in the list.</param>
771 <returns>The index of the listener, if it can be found in the list; otherwise, -1.</returns>
773 <member name="M:System.Diagnostics.TraceListenerCollection.Insert(System.Int32,System.Diagnostics.TraceListener)">
774 <summary>Inserts the listener at the specified index.</summary>
775 <param name="index">The position in the list to insert the new <see cref="T:System.Diagnostics.TraceListener" />.</param>
776 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener" /> to insert in the list.</param>
777 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index" /> is not a valid index in the list.</exception>
778 <exception cref="T:System.ArgumentException">
779 <paramref name="listener" /> is <see langword="null" />.</exception>
781 <member name="P:System.Diagnostics.TraceListenerCollection.Item(System.Int32)">
782 <summary>Gets or sets the <see cref="T:System.Diagnostics.TraceListener" /> at the specified index.</summary>
783 <param name="i">The zero-based index of the <see cref="T:System.Diagnostics.TraceListener" /> to get from the list.</param>
784 <returns>A <see cref="T:System.Diagnostics.TraceListener" /> with the specified index.</returns>
785 <exception cref="T:System.ArgumentNullException">The value is <see langword="null" />.</exception>
787 <member name="P:System.Diagnostics.TraceListenerCollection.Item(System.String)">
788 <summary>Gets the first <see cref="T:System.Diagnostics.TraceListener" /> in the list with the specified name.</summary>
789 <param name="name">The name of the <see cref="T:System.Diagnostics.TraceListener" /> to get from the list.</param>
790 <returns>The first <see cref="T:System.Diagnostics.TraceListener" /> in the list with the given <see cref="P:System.Diagnostics.TraceListener.Name" />. This item returns <see langword="null" /> if no <see cref="T:System.Diagnostics.TraceListener" /> with the given name can be found.</returns>
792 <member name="M:System.Diagnostics.TraceListenerCollection.Remove(System.Diagnostics.TraceListener)">
793 <summary>Removes from the collection the specified <see cref="T:System.Diagnostics.TraceListener" />.</summary>
794 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener" /> to remove from the list.</param>
796 <member name="M:System.Diagnostics.TraceListenerCollection.Remove(System.String)">
797 <summary>Removes from the collection the first <see cref="T:System.Diagnostics.TraceListener" /> with the specified name.</summary>
798 <param name="name">The name of the <see cref="T:System.Diagnostics.TraceListener" /> to remove from the list.</param>
800 <member name="M:System.Diagnostics.TraceListenerCollection.RemoveAt(System.Int32)">
801 <summary>Removes from the collection the <see cref="T:System.Diagnostics.TraceListener" /> at the specified index.</summary>
802 <param name="index">The zero-based index of the <see cref="T:System.Diagnostics.TraceListener" /> to remove from the list.</param>
803 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index" /> is not a valid index in the list.</exception>
805 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
806 <summary>Copies a section of the current <see cref="T:System.Diagnostics.TraceListenerCollection" /> to the specified array of <see cref="T:System.Diagnostics.TraceListener" /> objects.</summary>
807 <param name="array">The one-dimensional array of <see cref="T:System.Diagnostics.TraceListener" /> objects that is the destination of the elements copied from the <see cref="T:System.Diagnostics.TraceListenerCollection" />. The array must have zero-based indexing.</param>
808 <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
810 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#ICollection#IsSynchronized">
811 <summary>Gets a value indicating whether access to the <see cref="T:System.Diagnostics.TraceListenerCollection" /> is synchronized (thread safe).</summary>
812 <returns>Always <see langword="true" />.</returns>
814 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#ICollection#SyncRoot">
815 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</summary>
816 <returns>The current <see cref="T:System.Diagnostics.TraceListenerCollection" /> object.</returns>
818 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Add(System.Object)">
819 <summary>Adds a trace listener to the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</summary>
820 <param name="value">The object to add to the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</param>
821 <returns>The position into which the new trace listener was inserted.</returns>
822 <exception cref="T:System.ArgumentException">
823 <paramref name="value" /> is <see langword="null" />.
825 <paramref name="value" /> is not a <see cref="T:System.Diagnostics.TraceListener" />.</exception>
827 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Contains(System.Object)">
828 <summary>Determines whether the <see cref="T:System.Diagnostics.TraceListenerCollection" /> contains a specific object.</summary>
829 <param name="value">The object to locate in the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</param>
831 <see langword="true" /> if the <see cref="T:System.Object" /> is found in the <see cref="T:System.Diagnostics.TraceListenerCollection" />; otherwise, <see langword="false" />.</returns>
833 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#IndexOf(System.Object)">
834 <summary>Determines the index of a specific object in the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</summary>
835 <param name="value">The object to locate in the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</param>
836 <returns>The index of <paramref name="value" /> if found in the <see cref="T:System.Diagnostics.TraceListenerCollection" />; otherwise, -1.</returns>
838 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Insert(System.Int32,System.Object)">
839 <summary>Inserts a <see cref="T:System.Diagnostics.TraceListener" /> object at the specified position in the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</summary>
840 <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
841 <param name="value">The <see cref="T:System.Diagnostics.TraceListener" /> object to insert into the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</param>
842 <exception cref="T:System.ArgumentException">
843 <paramref name="value" /> is not a <see cref="T:System.Diagnostics.TraceListener" /> object.</exception>
845 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#IList#IsFixedSize">
846 <summary>Gets a value indicating whether the <see cref="T:System.Diagnostics.TraceListenerCollection" /> has a fixed size.</summary>
847 <returns>Always <see langword="false" />.</returns>
849 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#IList#IsReadOnly">
850 <summary>Gets a value indicating whether the <see cref="T:System.Diagnostics.TraceListenerCollection" /> is read-only.</summary>
851 <returns>Always <see langword="false" />.</returns>
853 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Item(System.Int32)">
854 <summary>Gets or sets the <see cref="T:System.Diagnostics.TraceListener" /> at the specified index in the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</summary>
855 <param name="index">The zero-based index of the <paramref name="value" /> to get.</param>
856 <returns>The <see cref="T:System.Diagnostics.TraceListener" /> at the specified index.</returns>
858 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Remove(System.Object)">
859 <summary>Removes an object from the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</summary>
860 <param name="value">The object to remove from the <see cref="T:System.Diagnostics.TraceListenerCollection" />.</param>
862 <member name="T:System.Diagnostics.TraceOptions">
863 <summary>Specifies trace data options to be written to the trace output.</summary>
865 <member name="F:System.Diagnostics.TraceOptions.Callstack">
866 <summary>Write the call stack, which is represented by the return value of the <see cref="P:System.Environment.StackTrace" /> property.</summary>
868 <member name="F:System.Diagnostics.TraceOptions.DateTime">
869 <summary>Write the date and time.</summary>
871 <member name="F:System.Diagnostics.TraceOptions.LogicalOperationStack">
872 <summary>Write the logical operation stack, which is represented by the return value of the <see cref="P:System.Diagnostics.CorrelationManager.LogicalOperationStack" /> property.</summary>
874 <member name="F:System.Diagnostics.TraceOptions.None">
875 <summary>Do not write any elements.</summary>
877 <member name="F:System.Diagnostics.TraceOptions.ProcessId">
878 <summary>Write the process identity, which is represented by the return value of the <see cref="P:System.Diagnostics.Process.Id" /> property.</summary>
880 <member name="F:System.Diagnostics.TraceOptions.ThreadId">
881 <summary>Write the thread identity, which is represented by the return value of the <see cref="P:System.Threading.Thread.ManagedThreadId" /> property for the current thread.</summary>
883 <member name="F:System.Diagnostics.TraceOptions.Timestamp">
884 <summary>Write the timestamp, which is represented by the return value of the <see cref="M:System.Diagnostics.Stopwatch.GetTimestamp" /> method.</summary>
886 <member name="T:System.Diagnostics.TraceSource">
887 <summary>Provides a set of methods and properties that enable applications to trace the execution of code and associate trace messages with their source.</summary>
889 <member name="M:System.Diagnostics.TraceSource.#ctor(System.String)">
890 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceSource" /> class, using the specified name for the source.</summary>
891 <param name="name">The name of the source (typically, the name of the application).</param>
892 <exception cref="T:System.ArgumentNullException">
893 <paramref name="name" /> is <see langword="null" />.</exception>
894 <exception cref="T:System.ArgumentException">
895 <paramref name="name" /> is an empty string ("").</exception>
897 <member name="M:System.Diagnostics.TraceSource.#ctor(System.String,System.Diagnostics.SourceLevels)">
898 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceSource" /> class, using the specified name for the source and the default source level at which tracing is to occur.</summary>
899 <param name="name">The name of the source, typically the name of the application.</param>
900 <param name="defaultLevel">A bitwise combination of the enumeration values that specifies the default source level at which to trace.</param>
901 <exception cref="T:System.ArgumentNullException">
902 <paramref name="name" /> is <see langword="null" />.</exception>
903 <exception cref="T:System.ArgumentException">
904 <paramref name="name" /> is an empty string ("").</exception>
906 <member name="P:System.Diagnostics.TraceSource.Attributes">
907 <summary>Gets the custom switch attributes defined in the application configuration file.</summary>
908 <returns>A <see cref="T:System.Collections.Specialized.StringDictionary" /> containing the custom attributes for the trace switch.</returns>
910 <member name="M:System.Diagnostics.TraceSource.Close">
911 <summary>Closes all the trace listeners in the trace listener collection.</summary>
913 <member name="M:System.Diagnostics.TraceSource.Flush">
914 <summary>Flushes all the trace listeners in the trace listener collection.</summary>
915 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
917 <member name="M:System.Diagnostics.TraceSource.GetSupportedAttributes">
918 <summary>Gets the custom attributes supported by the trace source.</summary>
919 <returns>A string array naming the custom attributes supported by the trace source, or <see langword="null" /> if there are no custom attributes.</returns>
921 <member name="P:System.Diagnostics.TraceSource.Listeners">
922 <summary>Gets the collection of trace listeners for the trace source.</summary>
923 <returns>A <see cref="T:System.Diagnostics.TraceListenerCollection" /> that contains the active trace listeners associated with the source.</returns>
925 <member name="P:System.Diagnostics.TraceSource.Name">
926 <summary>Gets the name of the trace source.</summary>
927 <returns>The name of the trace source.</returns>
929 <member name="P:System.Diagnostics.TraceSource.Switch">
930 <summary>Gets or sets the source switch value.</summary>
931 <returns>A <see cref="T:System.Diagnostics.SourceSwitch" /> object representing the source switch value.</returns>
932 <exception cref="T:System.ArgumentNullException">
933 <see cref="P:System.Diagnostics.TraceSource.Switch" /> is set to <see langword="null" />.</exception>
935 <member name="M:System.Diagnostics.TraceSource.TraceData(System.Diagnostics.TraceEventType,System.Int32,System.Object)">
936 <summary>Writes trace data to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners" /> collection using the specified event type, event identifier, and trace data.</summary>
937 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
938 <param name="id">A numeric identifier for the event.</param>
939 <param name="data">The trace data.</param>
940 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
942 <member name="M:System.Diagnostics.TraceSource.TraceData(System.Diagnostics.TraceEventType,System.Int32,System.Object[])">
943 <summary>Writes trace data to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners" /> collection using the specified event type, event identifier, and trace data array.</summary>
944 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
945 <param name="id">A numeric identifier for the event.</param>
946 <param name="data">An object array containing the trace data.</param>
947 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
949 <member name="M:System.Diagnostics.TraceSource.TraceEvent(System.Diagnostics.TraceEventType,System.Int32)">
950 <summary>Writes a trace event message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners" /> collection using the specified event type and event identifier.</summary>
951 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
952 <param name="id">A numeric identifier for the event.</param>
953 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
955 <member name="M:System.Diagnostics.TraceSource.TraceEvent(System.Diagnostics.TraceEventType,System.Int32,System.String)">
956 <summary>Writes a trace event message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners" /> collection using the specified event type, event identifier, and message.</summary>
957 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
958 <param name="id">A numeric identifier for the event.</param>
959 <param name="message">The trace message to write.</param>
960 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
962 <member name="M:System.Diagnostics.TraceSource.TraceEvent(System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])">
963 <summary>Writes a trace event to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners" /> collection using the specified event type, event identifier, and argument array and format.</summary>
964 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
965 <param name="id">A numeric identifier for the event.</param>
966 <param name="format">A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the <paramref name="args" /> array.</param>
967 <param name="args">An <see langword="object" /> array containing zero or more objects to format.</param>
968 <exception cref="T:System.ArgumentNullException">
969 <paramref name="format" /> is <see langword="null" />.</exception>
970 <exception cref="T:System.FormatException">
971 <paramref name="format" /> is invalid.
973 The number that indicates an argument to format is less than zero, or greater than or equal to the number of specified objects to format.</exception>
974 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
976 <member name="M:System.Diagnostics.TraceSource.TraceInformation(System.String)">
977 <summary>Writes an informational message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners" /> collection using the specified message.</summary>
978 <param name="message">The informative message to write.</param>
979 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
981 <member name="M:System.Diagnostics.TraceSource.TraceInformation(System.String,System.Object[])">
982 <summary>Writes an informational message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners" /> collection using the specified object array and formatting information.</summary>
983 <param name="format">A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the <paramref name="args" /> array.</param>
984 <param name="args">An array containing zero or more objects to format.</param>
985 <exception cref="T:System.ArgumentNullException">
986 <paramref name="format" /> is <see langword="null" />.</exception>
987 <exception cref="T:System.FormatException">
988 <paramref name="format" /> is invalid.
990 The number that indicates an argument to format is less than zero, or greater than or equal to the number of specified objects to format.</exception>
991 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
993 <member name="M:System.Diagnostics.TraceSource.TraceTransfer(System.Int32,System.String,System.Guid)">
994 <summary>Writes a trace transfer message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners" /> collection using the specified numeric identifier, message, and related activity identifier.</summary>
995 <param name="id">A numeric identifier for the event.</param>
996 <param name="message">The trace message to write.</param>
997 <param name="relatedActivityId">A structure that identifies the related activity.</param>
999 <member name="T:System.Diagnostics.TraceSwitch">
1000 <summary>Provides a multilevel switch to control tracing and debug output without recompiling your code.</summary>
1002 <member name="M:System.Diagnostics.TraceSwitch.#ctor(System.String,System.String)">
1003 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceSwitch" /> class, using the specified display name and description.</summary>
1004 <param name="displayName">The name to display on a user interface.</param>
1005 <param name="description">The description of the switch.</param>
1007 <member name="M:System.Diagnostics.TraceSwitch.#ctor(System.String,System.String,System.String)">
1008 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceSwitch" /> class, using the specified display name, description, and default value for the switch.</summary>
1009 <param name="displayName">The name to display on a user interface.</param>
1010 <param name="description">The description of the switch.</param>
1011 <param name="defaultSwitchValue">The default value of the switch.</param>
1013 <member name="P:System.Diagnostics.TraceSwitch.Level">
1014 <summary>Gets or sets the trace level that determines the messages the switch allows.</summary>
1015 <returns>One of the <see cref="T:System.Diagnostics.TraceLevel" /> values that specifies the level of messages that are allowed by the switch.</returns>
1016 <exception cref="T:System.ArgumentException">
1017 <see cref="P:System.Diagnostics.TraceSwitch.Level" /> is set to a value that is not one of the <see cref="T:System.Diagnostics.TraceLevel" /> values.</exception>
1019 <member name="M:System.Diagnostics.TraceSwitch.OnSwitchSettingChanged">
1020 <summary>Updates and corrects the level for this switch.</summary>
1022 <member name="M:System.Diagnostics.TraceSwitch.OnValueChanged">
1023 <summary>Sets the <see cref="P:System.Diagnostics.Switch.SwitchSetting" /> property to the integer equivalent of the <see cref="P:System.Diagnostics.Switch.Value" /> property.</summary>
1025 <member name="P:System.Diagnostics.TraceSwitch.TraceError">
1026 <summary>Gets a value indicating whether the switch allows error-handling messages.</summary>
1028 <see langword="true" /> if the <see cref="P:System.Diagnostics.TraceSwitch.Level" /> property is set to <see cref="F:System.Diagnostics.TraceLevel.Error" />, <see cref="F:System.Diagnostics.TraceLevel.Warning" />, <see cref="F:System.Diagnostics.TraceLevel.Info" />, or <see cref="F:System.Diagnostics.TraceLevel.Verbose" />; otherwise, <see langword="false" />.</returns>
1030 <member name="P:System.Diagnostics.TraceSwitch.TraceInfo">
1031 <summary>Gets a value indicating whether the switch allows informational messages.</summary>
1033 <see langword="true" /> if the <see cref="P:System.Diagnostics.TraceSwitch.Level" /> property is set to <see cref="F:System.Diagnostics.TraceLevel.Info" /> or <see cref="F:System.Diagnostics.TraceLevel.Verbose" />; otherwise, <see langword="false" />.</returns>
1035 <member name="P:System.Diagnostics.TraceSwitch.TraceVerbose">
1036 <summary>Gets a value indicating whether the switch allows all messages.</summary>
1038 <see langword="true" /> if the <see cref="P:System.Diagnostics.TraceSwitch.Level" /> property is set to <see cref="F:System.Diagnostics.TraceLevel.Verbose" />; otherwise, <see langword="false" />.</returns>
1040 <member name="P:System.Diagnostics.TraceSwitch.TraceWarning">
1041 <summary>Gets a value indicating whether the switch allows warning messages.</summary>
1043 <see langword="true" /> if the <see cref="P:System.Diagnostics.TraceSwitch.Level" /> property is set to <see cref="F:System.Diagnostics.TraceLevel.Warning" />, <see cref="F:System.Diagnostics.TraceLevel.Info" />, or <see cref="F:System.Diagnostics.TraceLevel.Verbose" />; otherwise, <see langword="false" />.</returns>