1 <?xml version="1.0" encoding="utf-8"?><span>
4 <name>System.Diagnostics.TraceSource</name>
7 <member name="T:System.Diagnostics.EventTypeFilter">
8 <summary>Indicates whether a listener should trace based on the event type.</summary>
10 <member name="M:System.Diagnostics.EventTypeFilter.#ctor(System.Diagnostics.SourceLevels)">
11 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.EventTypeFilter"></see> class.</summary>
12 <param name="level">A bitwise combination of the <see cref="T:System.Diagnostics.SourceLevels"></see> values that specifies the event type of the messages to trace.</param>
14 <member name="P:System.Diagnostics.EventTypeFilter.EventType">
15 <summary>Gets or sets the event type of the messages to trace.</summary>
16 <returns>A bitwise combination of the <see cref="T:System.Diagnostics.SourceLevels"></see> values.</returns>
18 <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[])">
19 <summary>Determines whether the trace listener should trace the event.</summary>
20 <param name="cache">A <see cref="T:System.Diagnostics.TraceEventCache"></see> that represents the information cache for the trace event.</param>
21 <param name="source">The name of the source.</param>
22 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType"></see> values.</param>
23 <param name="id">A trace identifier number.</param>
24 <param name="formatOrMessage">The format to use for writing an array of arguments, or a message to write.</param>
25 <param name="args">An array of argument objects.</param>
26 <param name="data1">A trace data object.</param>
27 <param name="data">An array of trace data objects.</param>
28 <returns>true if the trace should be produced; otherwise, false.</returns>
30 <member name="T:System.Diagnostics.Trace">
31 <summary>Provides a set of methods and properties that help you trace the execution of your code. This class cannot be inherited.</summary>
33 <member name="M:System.Diagnostics.Trace.Assert(System.Boolean)">
34 <summary>Checks for a condition; if the condition is false, displays a message box that shows the call stack.</summary>
35 <param name="condition">The conditional expression to evaluate. If the condition is true, a failure message is not sent and the message box is not displayed.</param>
37 <member name="M:System.Diagnostics.Trace.Assert(System.Boolean,System.String)">
38 <summary>Checks for a condition; if the condition is false, outputs a specified message and displays a message box that shows the call stack.</summary>
39 <param name="condition">The conditional expression to evaluate. If the condition is true, the specified message is not sent and the message box is not displayed.</param>
40 <param name="message">The message to send to the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</param>
42 <member name="M:System.Diagnostics.Trace.Assert(System.Boolean,System.String,System.String)">
43 <summary>Checks for a condition; if the condition is false, outputs two specified messages and displays a message box that shows the call stack.</summary>
44 <param name="condition">The conditional expression to evaluate. If the condition is true, the specified messages are not sent and the message box is not displayed.</param>
45 <param name="message">The message to send to the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</param>
46 <param name="detailMessage">The detailed message to send to the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</param>
48 <member name="P:System.Diagnostics.Trace.AutoFlush">
49 <summary>Gets or sets whether <see cref="M:System.Diagnostics.Trace.Flush"></see> should be called on the <see cref="P:System.Diagnostics.Trace.Listeners"></see> after every write.</summary>
50 <returns>true if <see cref="M:System.Diagnostics.Trace.Flush"></see> is called on the <see cref="P:System.Diagnostics.Trace.Listeners"></see> after every write; otherwise, false.</returns>
52 <member name="M:System.Diagnostics.Trace.Close">
53 <summary>Flushes the output buffer, and then closes the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</summary>
55 <member name="P:System.Diagnostics.Trace.CorrelationManager">
56 <summary>Gets the correlation manager for the thread for this trace.</summary>
57 <returns>The <see cref="T:System.Diagnostics.CorrelationManager"></see> object associated with the thread for this trace.</returns>
59 <member name="M:System.Diagnostics.Trace.Fail(System.String)">
60 <summary>Emits the specified error message.</summary>
61 <param name="message">A message to emit.</param>
63 <member name="M:System.Diagnostics.Trace.Fail(System.String,System.String)">
64 <summary>Emits an error message, and a detailed error message.</summary>
65 <param name="message">A message to emit.</param>
66 <param name="detailMessage">A detailed message to emit.</param>
68 <member name="M:System.Diagnostics.Trace.Flush">
69 <summary>Flushes the output buffer, and causes buffered data to be written to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</summary>
71 <member name="M:System.Diagnostics.Trace.Indent">
72 <summary>Increases the current <see cref="P:System.Diagnostics.Trace.IndentLevel"></see> by one.</summary>
74 <member name="P:System.Diagnostics.Trace.IndentLevel">
75 <summary>Gets or sets the indent level.</summary>
76 <returns>The indent level. The default is zero.</returns>
78 <member name="P:System.Diagnostics.Trace.IndentSize">
79 <summary>Gets or sets the number of spaces in an indent.</summary>
80 <returns>The number of spaces in an indent. The default is four.</returns>
82 <member name="P:System.Diagnostics.Trace.Listeners">
83 <summary>Gets the collection of listeners that is monitoring the trace output.</summary>
84 <returns>A <see cref="T:System.Diagnostics.TraceListenerCollection"></see> that represents a collection of type <see cref="T:System.Diagnostics.TraceListener"></see> monitoring the trace output.</returns>
86 <member name="M:System.Diagnostics.Trace.Refresh">
87 <summary>Refreshes the trace configuration data.</summary>
89 <member name="M:System.Diagnostics.Trace.TraceError(System.String)">
90 <summary>Writes an error message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection using the specified message.</summary>
91 <param name="message">The informative message to write.</param>
93 <member name="M:System.Diagnostics.Trace.TraceError(System.String,System.Object[])">
94 <summary>Writes an error message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection using the specified array of objects and formatting information.</summary>
95 <param name="format">A format string that contains zero or more format items, which correspond to objects in the args array.</param>
96 <param name="args">An object array containing zero or more objects to format.</param>
98 <member name="M:System.Diagnostics.Trace.TraceInformation(System.String)">
99 <summary>Writes an informational message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection using the specified message.</summary>
100 <param name="message">The informative message to write.</param>
102 <member name="M:System.Diagnostics.Trace.TraceInformation(System.String,System.Object[])">
103 <summary>Writes an informational message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection using the specified array of objects and formatting information.</summary>
104 <param name="format">A format string that contains zero or more format items, which correspond to objects in the args array.</param>
105 <param name="args">An object array containing zero or more objects to format.</param>
107 <member name="M:System.Diagnostics.Trace.TraceWarning(System.String,System.Object[])">
108 <summary>Writes a warning message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection using the specified array of objects and formatting information.</summary>
109 <param name="format">A format string that contains zero or more format items, which correspond to objects in the args array.</param>
110 <param name="args">An object array containing zero or more objects to format.</param>
112 <member name="M:System.Diagnostics.Trace.TraceWarning(System.String)">
113 <summary>Writes a warning message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection using the specified message.</summary>
114 <param name="message">The informative message to write.</param>
116 <member name="M:System.Diagnostics.Trace.Unindent">
117 <summary>Decreases the current <see cref="P:System.Diagnostics.Trace.IndentLevel"></see> by one.</summary>
119 <member name="P:System.Diagnostics.Trace.UseGlobalLock">
120 <summary>Gets or sets a value indicating whether the global lock should be used.</summary>
121 <returns>true if the global lock is to be used; otherwise, false. The default is true.</returns>
123 <member name="M:System.Diagnostics.Trace.Write(System.Object)">
124 <summary>Writes the value of the object's <see cref="M:System.Object.ToString"></see> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</summary>
125 <param name="value">An <see cref="T:System.Object"></see> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</param>
127 <member name="M:System.Diagnostics.Trace.Write(System.String)">
128 <summary>Writes a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</summary>
129 <param name="message">A message to write.</param>
131 <member name="M:System.Diagnostics.Trace.Write(System.Object,System.String)">
132 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString"></see> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</summary>
133 <param name="value">An <see cref="T:System.Object"></see> name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</param>
134 <param name="category">A category name used to organize the output.</param>
136 <member name="M:System.Diagnostics.Trace.Write(System.String,System.String)">
137 <summary>Writes a category name and a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</summary>
138 <param name="message">A message to write.</param>
139 <param name="category">A category name used to organize the output.</param>
141 <member name="M:System.Diagnostics.Trace.WriteIf(System.Boolean,System.String,System.String)">
142 <summary>Writes a category name and message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection if a condition is true.</summary>
143 <param name="condition">true to cause a message to be written; otherwise, false.</param>
144 <param name="message">A message to write.</param>
145 <param name="category">A category name used to organize the output.</param>
147 <member name="M:System.Diagnostics.Trace.WriteIf(System.Boolean,System.Object,System.String)">
148 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString"></see> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection if a condition is true.</summary>
149 <param name="condition">true to cause a message to be written; otherwise, false.</param>
150 <param name="value">An <see cref="T:System.Object"></see> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</param>
151 <param name="category">A category name used to organize the output.</param>
153 <member name="M:System.Diagnostics.Trace.WriteIf(System.Boolean,System.Object)">
154 <summary>Writes the value of the object's <see cref="M:System.Object.ToString"></see> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection if a condition is true.</summary>
155 <param name="condition">true to cause a message to be written; otherwise, false.</param>
156 <param name="value">An <see cref="T:System.Object"></see> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</param>
158 <member name="M:System.Diagnostics.Trace.WriteIf(System.Boolean,System.String)">
159 <summary>Writes a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection if a condition is true.</summary>
160 <param name="condition">true to cause a message to be written; otherwise, false.</param>
161 <param name="message">A message to write.</param>
163 <member name="M:System.Diagnostics.Trace.WriteLine(System.Object)">
164 <summary>Writes the value of the object's <see cref="M:System.Object.ToString"></see> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</summary>
165 <param name="value">An <see cref="T:System.Object"></see> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</param>
167 <member name="M:System.Diagnostics.Trace.WriteLine(System.String)">
168 <summary>Writes a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</summary>
169 <param name="message">A message to write.</param>
171 <member name="M:System.Diagnostics.Trace.WriteLine(System.Object,System.String)">
172 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString"></see> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</summary>
173 <param name="value">An <see cref="T:System.Object"></see> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</param>
174 <param name="category">A category name used to organize the output.</param>
176 <member name="M:System.Diagnostics.Trace.WriteLine(System.String,System.String)">
177 <summary>Writes a category name and message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection.</summary>
178 <param name="message">A message to write.</param>
179 <param name="category">A category name used to organize the output.</param>
181 <member name="M:System.Diagnostics.Trace.WriteLineIf(System.Boolean,System.Object,System.String)">
182 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString"></see> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection if a condition is true.</summary>
183 <param name="condition">true to cause a message to be written; otherwise, false.</param>
184 <param name="value">An <see cref="T:System.Object"></see> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</param>
185 <param name="category">A category name used to organize the output.</param>
187 <member name="M:System.Diagnostics.Trace.WriteLineIf(System.Boolean,System.Object)">
188 <summary>Writes the value of the object's <see cref="M:System.Object.ToString"></see> method to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection if a condition is true.</summary>
189 <param name="condition">true to cause a message to be written; otherwise, false.</param>
190 <param name="value">An <see cref="T:System.Object"></see> whose name is sent to the <see cref="P:System.Diagnostics.Trace.Listeners"></see>.</param>
192 <member name="M:System.Diagnostics.Trace.WriteLineIf(System.Boolean,System.String)">
193 <summary>Writes a message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection if a condition is true.</summary>
194 <param name="condition">true to cause a message to be written; otherwise, false.</param>
195 <param name="message">A message to write.</param>
197 <member name="M:System.Diagnostics.Trace.WriteLineIf(System.Boolean,System.String,System.String)">
198 <summary>Writes a category name and message to the trace listeners in the <see cref="P:System.Diagnostics.Trace.Listeners"></see> collection if a condition is true.</summary>
199 <param name="condition">true to cause a message to be written; otherwise, false.</param>
200 <param name="message">A message to write.</param>
201 <param name="category">A category name used to organize the output.</param>
203 <member name="T:System.Diagnostics.TraceEventCache">
204 <summary>Provides trace event data specific to a thread and a process.</summary>
206 <member name="M:System.Diagnostics.TraceEventCache.#ctor">
207 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceEventCache"></see> class.</summary>
209 <member name="P:System.Diagnostics.TraceEventCache.Callstack">
210 <summary>Gets the call stack for the current thread.</summary>
211 <returns>A string containing stack trace information. This value can be an empty string ("").</returns>
213 <member name="P:System.Diagnostics.TraceEventCache.DateTime">
214 <summary>Gets the date and time at which the event trace occurred.</summary>
215 <returns>A <see cref="T:System.DateTime"></see> structure whose value is a date and time expressed in Coordinated Universal Time (UTC).</returns>
217 <member name="P:System.Diagnostics.TraceEventCache.LogicalOperationStack">
218 <summary>Gets the correlation data, contained in a stack.</summary>
219 <returns>A <see cref="T:System.Collections.Stack"></see> containing correlation data.</returns>
221 <member name="P:System.Diagnostics.TraceEventCache.ProcessId">
222 <summary>Gets the unique identifier of the current process.</summary>
223 <returns>The system-generated unique identifier of the current process.</returns>
225 <member name="P:System.Diagnostics.TraceEventCache.ThreadId">
226 <summary>Gets a unique identifier for the current managed thread.</summary>
227 <returns>A string that represents a unique integer identifier for this managed thread.</returns>
229 <member name="P:System.Diagnostics.TraceEventCache.Timestamp">
230 <summary>Gets the current number of ticks in the timer mechanism.</summary>
231 <returns>The tick counter value of the underlying timer mechanism.</returns>
233 <member name="T:System.Diagnostics.TraceEventType">
234 <summary>Identifies the type of event that has caused the trace.</summary>
236 <member name="F:System.Diagnostics.TraceEventType.Critical">
237 <summary>Fatal error or application crash.</summary>
240 <member name="F:System.Diagnostics.TraceEventType.Error">
241 <summary>Recoverable error.</summary>
244 <member name="F:System.Diagnostics.TraceEventType.Information">
245 <summary>Informational message.</summary>
248 <member name="F:System.Diagnostics.TraceEventType.Resume">
249 <summary>Resumption of a logical operation.</summary>
252 <member name="F:System.Diagnostics.TraceEventType.Start">
253 <summary>Starting of a logical operation.</summary>
256 <member name="F:System.Diagnostics.TraceEventType.Stop">
257 <summary>Stopping of a logical operation.</summary>
260 <member name="F:System.Diagnostics.TraceEventType.Suspend">
261 <summary>Suspension of a logical operation.</summary>
264 <member name="F:System.Diagnostics.TraceEventType.Transfer">
265 <summary>Changing of correlation identity.</summary>
268 <member name="F:System.Diagnostics.TraceEventType.Verbose">
269 <summary>Debugging trace.</summary>
272 <member name="F:System.Diagnostics.TraceEventType.Warning">
273 <summary>Noncritical problem.</summary>
276 <member name="T:System.Diagnostics.TraceFilter">
277 <summary>Provides the base class for trace filter implementations.</summary>
279 <member name="M:System.Diagnostics.TraceFilter.#ctor">
280 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceFilter"></see> class.</summary>
282 <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[])">
283 <summary>When overridden in a derived class, determines whether the trace listener should trace the event.</summary>
284 <param name="cache">The <see cref="T:System.Diagnostics.TraceEventCache"></see> that contains information for the trace event.</param>
285 <param name="source">The name of the source.</param>
286 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType"></see> values specifying the type of event that has caused the trace.</param>
287 <param name="id">A trace identifier number.</param>
288 <param name="formatOrMessage">Either the format to use for writing an array of arguments specified by the args parameter, or a message to write.</param>
289 <param name="args">An array of argument objects.</param>
290 <param name="data1">A trace data object.</param>
291 <param name="data">An array of trace data objects.</param>
292 <returns>true to trace the specified event; otherwise, false.</returns>
294 <member name="T:System.Diagnostics.TraceLevel">
295 <summary>Specifies what messages to output for the <see cref="T:System.Diagnostics.Debug"></see>, <see cref="T:System.Diagnostics.Trace"></see> and <see cref="T:System.Diagnostics.TraceSwitch"></see> classes.</summary>
297 <member name="F:System.Diagnostics.TraceLevel.Error">
298 <summary>Output error-handling messages.</summary>
301 <member name="F:System.Diagnostics.TraceLevel.Info">
302 <summary>Output informational messages, warnings, and error-handling messages.</summary>
305 <member name="F:System.Diagnostics.TraceLevel.Off">
306 <summary>Output no tracing and debugging messages.</summary>
309 <member name="F:System.Diagnostics.TraceLevel.Verbose">
310 <summary>Output all debugging and tracing messages.</summary>
313 <member name="F:System.Diagnostics.TraceLevel.Warning">
314 <summary>Output warnings and error-handling messages.</summary>
317 <member name="T:System.Diagnostics.TraceListener">
318 <summary>Provides the abstract base class for the listeners who monitor trace and debug output.</summary>
320 <member name="M:System.Diagnostics.TraceListener.#ctor">
321 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceListener"></see> class.</summary>
323 <member name="M:System.Diagnostics.TraceListener.#ctor(System.String)">
324 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceListener"></see> class using the specified name as the listener.</summary>
325 <param name="name">The name of the <see cref="T:System.Diagnostics.TraceListener"></see>.</param>
327 <member name="P:System.Diagnostics.TraceListener.Attributes">
328 <summary>Gets the custom trace listener attributes defined in the application configuration file.</summary>
329 <returns>A <see cref="T:System.Collections.Specialized.StringDictionary"></see> containing the custom attributes for the trace listener.</returns>
331 <member name="M:System.Diagnostics.TraceListener.Close">
332 <summary>When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.</summary>
334 <member name="M:System.Diagnostics.TraceListener.Dispose">
335 <summary>Releases all resources used by the <see cref="T:System.Diagnostics.TraceListener"></see>.</summary>
337 <member name="M:System.Diagnostics.TraceListener.Dispose(System.Boolean)">
338 <summary>Releases the unmanaged resources used by the <see cref="T:System.Diagnostics.TraceListener"></see> and optionally releases the managed resources.</summary>
339 <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
341 <member name="M:System.Diagnostics.TraceListener.Fail(System.String)">
342 <summary>Emits an error message to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener"></see> class.</summary>
343 <param name="message">A message to emit.</param>
345 <member name="M:System.Diagnostics.TraceListener.Fail(System.String,System.String)">
346 <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"></see> class.</summary>
347 <param name="message">A message to emit.</param>
348 <param name="detailMessage">A detailed message to emit.</param>
350 <member name="P:System.Diagnostics.TraceListener.Filter">
351 <summary>Gets and sets the trace filter for the trace listener.</summary>
352 <returns>An object derived from the <see cref="T:System.Diagnostics.TraceFilter"></see> base class.</returns>
354 <member name="M:System.Diagnostics.TraceListener.Flush">
355 <summary>When overridden in a derived class, flushes the output buffer.</summary>
357 <member name="M:System.Diagnostics.TraceListener.GetSupportedAttributes">
358 <summary>Gets the custom attributes supported by the trace listener.</summary>
359 <returns>A string array naming the custom attributes supported by the trace listener, or null if there are no custom attributes.</returns>
361 <member name="P:System.Diagnostics.TraceListener.IndentLevel">
362 <summary>Gets or sets the indent level.</summary>
363 <returns>The indent level. The default is zero.</returns>
365 <member name="P:System.Diagnostics.TraceListener.IndentSize">
366 <summary>Gets or sets the number of spaces in an indent.</summary>
367 <returns>The number of spaces in an indent. The default is four spaces.</returns>
368 <exception cref="T:System.ArgumentOutOfRangeException">Set operation failed because the value is less than zero.</exception>
370 <member name="P:System.Diagnostics.TraceListener.IsThreadSafe">
371 <summary>Gets a value indicating whether the trace listener is thread safe.</summary>
372 <returns>true if the trace listener is thread safe; otherwise, false. The default is false.</returns>
374 <member name="P:System.Diagnostics.TraceListener.Name">
375 <summary>Gets or sets a name for this <see cref="T:System.Diagnostics.TraceListener"></see>.</summary>
376 <returns>A name for this <see cref="T:System.Diagnostics.TraceListener"></see>. The default is an empty string ("").</returns>
378 <member name="P:System.Diagnostics.TraceListener.NeedIndent">
379 <summary>Gets or sets a value indicating whether to indent the output.</summary>
380 <returns>true if the output should be indented; otherwise, false.</returns>
382 <member name="M:System.Diagnostics.TraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object)">
383 <summary>Writes trace information, a data object and event information to the listener specific output.</summary>
384 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache"></see> object that contains the current process ID, thread ID, and stack trace information.</param>
385 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
386 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType"></see> values specifying the type of event that has caused the trace.</param>
387 <param name="id">A numeric identifier for the event.</param>
388 <param name="data">The trace data to emit.</param>
390 <member name="M:System.Diagnostics.TraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object[])">
391 <summary>Writes trace information, an array of data objects and event information to the listener specific output.</summary>
392 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache"></see> object that contains the current process ID, thread ID, and stack trace information.</param>
393 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
394 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType"></see> values specifying the type of event that has caused the trace.</param>
395 <param name="id">A numeric identifier for the event.</param>
396 <param name="data">An array of objects to emit as data.</param>
398 <member name="M:System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32)">
399 <summary>Writes trace and event information to the listener specific output.</summary>
400 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache"></see> object that contains the current process ID, thread ID, and stack trace information.</param>
401 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
402 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType"></see> values specifying the type of event that has caused the trace.</param>
403 <param name="id">A numeric identifier for the event.</param>
405 <member name="M:System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String)">
406 <summary>Writes trace information, a message, and event information to the listener specific output.</summary>
407 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache"></see> object that contains the current process ID, thread ID, and stack trace information.</param>
408 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
409 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType"></see> values specifying the type of event that has caused the trace.</param>
410 <param name="id">A numeric identifier for the event.</param>
411 <param name="message">A message to write.</param>
413 <member name="M:System.Diagnostics.TraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])">
414 <summary>Writes trace information, a formatted array of objects and event information to the listener specific output.</summary>
415 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache"></see> object that contains the current process ID, thread ID, and stack trace information.</param>
416 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
417 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType"></see> values specifying the type of event that has caused the trace.</param>
418 <param name="id">A numeric identifier for the event.</param>
419 <param name="format">A format string that contains zero or more format items, which correspond to objects in the args array.</param>
420 <param name="args">An object array containing zero or more objects to format.</param>
422 <member name="P:System.Diagnostics.TraceListener.TraceOutputOptions">
423 <summary>Gets or sets the trace output options.</summary>
424 <returns>A bitwise combination of the enumeration values. The default is <see cref="F:System.Diagnostics.TraceOptions.None"></see>.</returns>
425 <exception cref="T:System.ArgumentOutOfRangeException">Set operation failed because the value is invalid.</exception>
427 <member name="M:System.Diagnostics.TraceListener.TraceTransfer(System.Diagnostics.TraceEventCache,System.String,System.Int32,System.String,System.Guid)">
428 <summary>Writes trace information, a message, a related activity identity and event information to the listener specific output.</summary>
429 <param name="eventCache">A <see cref="T:System.Diagnostics.TraceEventCache"></see> object that contains the current process ID, thread ID, and stack trace information.</param>
430 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
431 <param name="id">A numeric identifier for the event.</param>
432 <param name="message">A message to write.</param>
433 <param name="relatedActivityId">A <see cref="T:System.Guid"></see> object identifying a related activity.</param>
435 <member name="M:System.Diagnostics.TraceListener.Write(System.Object)">
436 <summary>Writes the value of the object's <see cref="M:System.Object.ToString"></see> method to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener"></see> class.</summary>
437 <param name="o">An <see cref="T:System.Object"></see> whose fully qualified class name you want to write.</param>
439 <member name="M:System.Diagnostics.TraceListener.Write(System.String)">
440 <summary>When overridden in a derived class, writes the specified message to the listener you create in the derived class.</summary>
441 <param name="message">A message to write.</param>
443 <member name="M:System.Diagnostics.TraceListener.Write(System.Object,System.String)">
444 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString"></see> method to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener"></see> class.</summary>
445 <param name="o">An <see cref="T:System.Object"></see> whose fully qualified class name you want to write.</param>
446 <param name="category">A category name used to organize the output.</param>
448 <member name="M:System.Diagnostics.TraceListener.Write(System.String,System.String)">
449 <summary>Writes a category name and a message to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener"></see> class.</summary>
450 <param name="message">A message to write.</param>
451 <param name="category">A category name used to organize the output.</param>
453 <member name="M:System.Diagnostics.TraceListener.WriteIndent">
454 <summary>Writes the indent to the listener you create when you implement this class, and resets the <see cref="P:System.Diagnostics.TraceListener.NeedIndent"></see> property to false.</summary>
456 <member name="M:System.Diagnostics.TraceListener.WriteLine(System.Object)">
457 <summary>Writes the value of the object's <see cref="M:System.Object.ToString"></see> method to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener"></see> class, followed by a line terminator.</summary>
458 <param name="o">An <see cref="T:System.Object"></see> whose fully qualified class name you want to write.</param>
460 <member name="M:System.Diagnostics.TraceListener.WriteLine(System.String)">
461 <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>
462 <param name="message">A message to write.</param>
464 <member name="M:System.Diagnostics.TraceListener.WriteLine(System.Object,System.String)">
465 <summary>Writes a category name and the value of the object's <see cref="M:System.Object.ToString"></see> method to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener"></see> class, followed by a line terminator.</summary>
466 <param name="o">An <see cref="T:System.Object"></see> whose fully qualified class name you want to write.</param>
467 <param name="category">A category name used to organize the output.</param>
469 <member name="M:System.Diagnostics.TraceListener.WriteLine(System.String,System.String)">
470 <summary>Writes a category name and a message to the listener you create when you implement the <see cref="T:System.Diagnostics.TraceListener"></see> class, followed by a line terminator.</summary>
471 <param name="message">A message to write.</param>
472 <param name="category">A category name used to organize the output.</param>
474 <member name="T:System.Diagnostics.TraceListenerCollection">
475 <summary>Provides a thread-safe list of <see cref="T:System.Diagnostics.TraceListener"></see> objects.</summary>
477 <member name="M:System.Diagnostics.TraceListenerCollection.Add(System.Diagnostics.TraceListener)">
478 <summary>Adds a <see cref="T:System.Diagnostics.TraceListener"></see> to the list.</summary>
479 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener"></see> to add to the list.</param>
480 <returns>The position at which the new listener was inserted.</returns>
482 <member name="M:System.Diagnostics.TraceListenerCollection.AddRange(System.Diagnostics.TraceListener[])">
483 <summary>Adds an array of <see cref="T:System.Diagnostics.TraceListener"></see> objects to the list.</summary>
484 <param name="value">An array of <see cref="T:System.Diagnostics.TraceListener"></see> objects to add to the list.</param>
485 <exception cref="T:System.ArgumentNullException"><paramref name="value">value</paramref> is null.</exception>
487 <member name="M:System.Diagnostics.TraceListenerCollection.AddRange(System.Diagnostics.TraceListenerCollection)">
488 <summary>Adds the contents of another <see cref="T:System.Diagnostics.TraceListenerCollection"></see> to the list.</summary>
489 <param name="value">Another <see cref="T:System.Diagnostics.TraceListenerCollection"></see> whose contents are added to the list.</param>
490 <exception cref="T:System.ArgumentNullException"><paramref name="value">value</paramref> is null.</exception>
492 <member name="M:System.Diagnostics.TraceListenerCollection.Clear">
493 <summary>Clears all the listeners from the list.</summary>
495 <member name="M:System.Diagnostics.TraceListenerCollection.Contains(System.Diagnostics.TraceListener)">
496 <summary>Checks whether the list contains the specified listener.</summary>
497 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener"></see> to find in the list.</param>
498 <returns>true if the listener is in the list; otherwise, false.</returns>
500 <member name="M:System.Diagnostics.TraceListenerCollection.CopyTo(System.Diagnostics.TraceListener[],System.Int32)">
501 <summary>Copies a section of the current <see cref="T:System.Diagnostics.TraceListenerCollection"></see> list to the specified array at the specified index.</summary>
502 <param name="listeners">An array of type <see cref="T:System.Array"></see> to copy the elements into.</param>
503 <param name="index">The starting index number in the current list to copy from.</param>
505 <member name="P:System.Diagnostics.TraceListenerCollection.Count">
506 <summary>Gets the number of listeners in the list.</summary>
507 <returns>The number of listeners in the list.</returns>
509 <member name="M:System.Diagnostics.TraceListenerCollection.GetEnumerator">
510 <summary>Gets an enumerator for this list.</summary>
511 <returns>An enumerator of type <see cref="T:System.Collections.IEnumerator"></see>.</returns>
513 <member name="M:System.Diagnostics.TraceListenerCollection.IndexOf(System.Diagnostics.TraceListener)">
514 <summary>Gets the index of the specified listener.</summary>
515 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener"></see> to find in the list.</param>
516 <returns>The index of the listener, if it can be found in the list; otherwise, -1.</returns>
518 <member name="M:System.Diagnostics.TraceListenerCollection.Insert(System.Int32,System.Diagnostics.TraceListener)">
519 <summary>Inserts the listener at the specified index.</summary>
520 <param name="index">The position in the list to insert the new <see cref="T:System.Diagnostics.TraceListener"></see>.</param>
521 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener"></see> to insert in the list.</param>
522 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index">index</paramref> is not a valid index in the list.</exception>
523 <exception cref="T:System.ArgumentException"><paramref name="listener">listener</paramref> is null.</exception>
525 <member name="P:System.Diagnostics.TraceListenerCollection.Item(System.Int32)">
526 <summary>Gets or sets the <see cref="T:System.Diagnostics.TraceListener"></see> at the specified index.</summary>
527 <param name="i">The zero-based index of the <see cref="T:System.Diagnostics.TraceListener"></see> to get from the list.</param>
528 <returns>A <see cref="T:System.Diagnostics.TraceListener"></see> with the specified index.</returns>
529 <exception cref="T:System.ArgumentNullException">The value is null.</exception>
531 <member name="P:System.Diagnostics.TraceListenerCollection.Item(System.String)">
532 <summary>Gets the first <see cref="T:System.Diagnostics.TraceListener"></see> in the list with the specified name.</summary>
533 <param name="name">The name of the <see cref="T:System.Diagnostics.TraceListener"></see> to get from the list.</param>
534 <returns>The first <see cref="T:System.Diagnostics.TraceListener"></see> in the list with the given <see cref="P:System.Diagnostics.TraceListener.Name"></see>. This item returns null if no <see cref="T:System.Diagnostics.TraceListener"></see> with the given name can be found.</returns>
536 <member name="M:System.Diagnostics.TraceListenerCollection.Remove(System.String)">
537 <summary>Removes from the collection the first <see cref="T:System.Diagnostics.TraceListener"></see> with the specified name.</summary>
538 <param name="name">The name of the <see cref="T:System.Diagnostics.TraceListener"></see> to remove from the list.</param>
540 <member name="M:System.Diagnostics.TraceListenerCollection.Remove(System.Diagnostics.TraceListener)">
541 <summary>Removes from the collection the specified <see cref="T:System.Diagnostics.TraceListener"></see>.</summary>
542 <param name="listener">A <see cref="T:System.Diagnostics.TraceListener"></see> to remove from the list.</param>
544 <member name="M:System.Diagnostics.TraceListenerCollection.RemoveAt(System.Int32)">
545 <summary>Removes from the collection the <see cref="T:System.Diagnostics.TraceListener"></see> at the specified index.</summary>
546 <param name="index">The zero-based index of the <see cref="T:System.Diagnostics.TraceListener"></see> to remove from the list.</param>
547 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index">index</paramref> is not a valid index in the list.</exception>
549 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)">
550 <summary>Copies a section of the current <see cref="T:System.Diagnostics.TraceListenerCollection"></see> to the specified array of <see cref="T:System.Diagnostics.TraceListener"></see> objects.</summary>
551 <param name="array">The one-dimensional array of <see cref="T:System.Diagnostics.TraceListener"></see> objects that is the destination of the elements copied from the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>. The array must have zero-based indexing.</param>
552 <param name="index">The zero-based index in array at which copying begins.</param>
554 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#ICollection#IsSynchronized">
555 <summary>Gets a value indicating whether access to the <see cref="T:System.Diagnostics.TraceListenerCollection"></see> is synchronized (thread safe).</summary>
556 <returns>Always true.</returns>
558 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#ICollection#SyncRoot">
559 <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</summary>
560 <returns>The current <see cref="T:System.Diagnostics.TraceListenerCollection"></see> object.</returns>
562 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Add(System.Object)">
563 <summary>Adds a trace listener to the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</summary>
564 <param name="value">The object to add to the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</param>
565 <returns>The position into which the new trace listener was inserted.</returns>
566 <exception cref="T:System.ArgumentException"><paramref name="value">value</paramref> is null. -or- <paramref name="value">value</paramref> is not a <see cref="T:System.Diagnostics.TraceListener"></see>.</exception>
568 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Contains(System.Object)">
569 <summary>Determines whether the <see cref="T:System.Diagnostics.TraceListenerCollection"></see> contains a specific object.</summary>
570 <param name="value">The object to locate in the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</param>
571 <returns>true if the <see cref="T:System.Object"></see> is found in the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>; otherwise, false.</returns>
573 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#IndexOf(System.Object)">
574 <summary>Determines the index of a specific object in the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</summary>
575 <param name="value">The object to locate in the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</param>
576 <returns>The index of <paramref name="value">value</paramref> if found in the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>; otherwise, -1.</returns>
578 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Insert(System.Int32,System.Object)">
579 <summary>Inserts a <see cref="T:System.Diagnostics.TraceListener"></see> object at the specified position in the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</summary>
580 <param name="index">The zero-based index at which value should be inserted.</param>
581 <param name="value">The <see cref="T:System.Diagnostics.TraceListener"></see> object to insert into the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</param>
582 <exception cref="T:System.ArgumentException"><paramref name="value">value</paramref> is not a <see cref="T:System.Diagnostics.TraceListener"></see> object.</exception>
584 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#IList#IsFixedSize">
585 <summary>Gets a value indicating whether the <see cref="T:System.Diagnostics.TraceListenerCollection"></see> has a fixed size.</summary>
586 <returns>Always false.</returns>
588 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#IList#IsReadOnly">
589 <summary>Gets a value indicating whether the <see cref="T:System.Diagnostics.TraceListenerCollection"></see> is read-only</summary>
590 <returns>Always false.</returns>
592 <member name="P:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Item(System.Int32)">
593 <summary>Gets or sets the <see cref="T:System.Diagnostics.TraceListener"></see> at the specified index in the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</summary>
594 <param name="index">The zero-based index of the value to get.</param>
595 <returns>The <see cref="T:System.Diagnostics.TraceListener"></see> at the specified index.</returns>
597 <member name="M:System.Diagnostics.TraceListenerCollection.System#Collections#IList#Remove(System.Object)">
598 <summary>Removes an object from the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</summary>
599 <param name="value">The object to remove from the <see cref="T:System.Diagnostics.TraceListenerCollection"></see>.</param>
601 <member name="T:System.Diagnostics.TraceOptions">
602 <summary>Specifies trace data options to be written to the trace output.</summary>
604 <member name="F:System.Diagnostics.TraceOptions.Callstack">
605 <summary>Write the call stack, which is represented by the return value of the <see cref="P:System.Environment.StackTrace"></see> property.</summary>
608 <member name="F:System.Diagnostics.TraceOptions.DateTime">
609 <summary>Write the date and time.</summary>
612 <member name="F:System.Diagnostics.TraceOptions.LogicalOperationStack">
613 <summary>Write the logical operation stack, which is represented by the return value of the <see cref="P:System.Diagnostics.CorrelationManager.LogicalOperationStack"></see> property.</summary>
616 <member name="F:System.Diagnostics.TraceOptions.None">
617 <summary>Do not write any elements.</summary>
620 <member name="F:System.Diagnostics.TraceOptions.ProcessId">
621 <summary>Write the process identity, which is represented by the return value of the <see cref="P:System.Diagnostics.Process.Id"></see> property.</summary>
624 <member name="F:System.Diagnostics.TraceOptions.ThreadId">
625 <summary>Write the thread identity, which is represented by the return value of the <see cref="P:System.Threading.Thread.ManagedThreadId"></see> property for the current thread.</summary>
628 <member name="F:System.Diagnostics.TraceOptions.Timestamp">
629 <summary>Write the timestamp, which is represented by the return value of the <see cref="M:System.Diagnostics.Stopwatch.GetTimestamp"></see> method.</summary>
632 <member name="T:System.Diagnostics.TraceSource">
633 <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>
635 <member name="M:System.Diagnostics.TraceSource.#ctor(System.String)">
636 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceSource"></see> class, using the specified name for the source.</summary>
637 <param name="name">The name of the source (typically, the name of the application).</param>
638 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
639 <exception cref="T:System.ArgumentException"><paramref name="name">name</paramref> is an empty string ("").</exception>
641 <member name="M:System.Diagnostics.TraceSource.#ctor(System.String,System.Diagnostics.SourceLevels)">
642 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceSource"></see> class, using the specified name for the source and the default source level at which tracing is to occur.</summary>
643 <param name="name">The name of the source, typically the name of the application.</param>
644 <param name="defaultLevel">A bitwise combination of the enumeration values that specifies the default source level at which to trace.</param>
645 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.</exception>
646 <exception cref="T:System.ArgumentException"><paramref name="name">name</paramref> is an empty string ("").</exception>
648 <member name="P:System.Diagnostics.TraceSource.Attributes">
649 <summary>Gets the custom switch attributes defined in the application configuration file.</summary>
650 <returns>A <see cref="T:System.Collections.Specialized.StringDictionary"></see> containing the custom attributes for the trace switch.</returns>
652 <member name="M:System.Diagnostics.TraceSource.Close">
653 <summary>Closes all the trace listeners in the trace listener collection.</summary>
655 <member name="M:System.Diagnostics.TraceSource.Flush">
656 <summary>Flushes all the trace listeners in the trace listener collection.</summary>
657 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
659 <member name="M:System.Diagnostics.TraceSource.GetSupportedAttributes">
660 <summary>Gets the custom attributes supported by the trace source.</summary>
661 <returns>A string array naming the custom attributes supported by the trace source, or null if there are no custom attributes.</returns>
663 <member name="P:System.Diagnostics.TraceSource.Listeners">
664 <summary>Gets the collection of trace listeners for the trace source.</summary>
665 <returns>A <see cref="T:System.Diagnostics.TraceListenerCollection"></see> that contains the active trace listeners associated with the source.</returns>
667 <member name="P:System.Diagnostics.TraceSource.Name">
668 <summary>Gets the name of the trace source.</summary>
669 <returns>The name of the trace source.</returns>
671 <member name="P:System.Diagnostics.TraceSource.Switch">
672 <summary>Gets or sets the source switch value.</summary>
673 <returns>A <see cref="T:System.Diagnostics.SourceSwitch"></see> object representing the source switch value.</returns>
674 <exception cref="T:System.ArgumentNullException"><see cref="P:System.Diagnostics.TraceSource.Switch"></see> is set to null.</exception>
676 <member name="M:System.Diagnostics.TraceSource.TraceData(System.Diagnostics.TraceEventType,System.Int32,System.Object)">
677 <summary>Writes trace data to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners"></see> collection using the specified event type, event identifier, and trace data.</summary>
678 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
679 <param name="id">A numeric identifier for the event.</param>
680 <param name="data">The trace data.</param>
681 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
683 <member name="M:System.Diagnostics.TraceSource.TraceData(System.Diagnostics.TraceEventType,System.Int32,System.Object[])">
684 <summary>Writes trace data to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners"></see> collection using the specified event type, event identifier, and trace data array.</summary>
685 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
686 <param name="id">A numeric identifier for the event.</param>
687 <param name="data">An object array containing the trace data.</param>
688 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
690 <member name="M:System.Diagnostics.TraceSource.TraceEvent(System.Diagnostics.TraceEventType,System.Int32)">
691 <summary>Writes a trace event message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners"></see> collection using the specified event type and event identifier.</summary>
692 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
693 <param name="id">A numeric identifier for the event.</param>
694 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
696 <member name="M:System.Diagnostics.TraceSource.TraceEvent(System.Diagnostics.TraceEventType,System.Int32,System.String)">
697 <summary>Writes a trace event message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners"></see> collection using the specified event type, event identifier, and message.</summary>
698 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
699 <param name="id">A numeric identifier for the event.</param>
700 <param name="message">The trace message to write.</param>
701 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
703 <member name="M:System.Diagnostics.TraceSource.TraceEvent(System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])">
704 <summary>Writes a trace event to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners"></see> collection using the specified event type, event identifier, and argument array and format.</summary>
705 <param name="eventType">One of the enumeration values that specifies the event type of the trace data.</param>
706 <param name="id">A numeric identifier for the event.</param>
707 <param name="format">A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the args array.</param>
708 <param name="args">An object array containing zero or more objects to format.</param>
709 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is null.</exception>
710 <exception cref="T:System.FormatException"><paramref name="format">format</paramref> is invalid. -or- 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>
711 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
713 <member name="M:System.Diagnostics.TraceSource.TraceInformation(System.String)">
714 <summary>Writes an informational message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners"></see> collection using the specified message.</summary>
715 <param name="message">The informative message to write.</param>
716 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
718 <member name="M:System.Diagnostics.TraceSource.TraceInformation(System.String,System.Object[])">
719 <summary>Writes an informational message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners"></see> collection using the specified object array and formatting information.</summary>
720 <param name="format">A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the args array.</param>
721 <param name="args">An array containing zero or more objects to format.</param>
722 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is null.</exception>
723 <exception cref="T:System.FormatException"><paramref name="format">format</paramref> is invalid. -or- 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>
724 <exception cref="T:System.ObjectDisposedException">An attempt was made to trace an event during finalization.</exception>
726 <member name="M:System.Diagnostics.TraceSource.TraceTransfer(System.Int32,System.String,System.Guid)">
727 <summary>Writes a trace transfer message to the trace listeners in the <see cref="P:System.Diagnostics.TraceSource.Listeners"></see> collection using the specified numeric identifier, message, and related activity identifier.</summary>
728 <param name="id">A numeric identifier for the event.</param>
729 <param name="message">The trace message to write.</param>
730 <param name="relatedActivityId">A structure that identifies the related activity.</param>
732 <member name="T:System.Diagnostics.TraceSwitch">
733 <summary>Provides a multilevel switch to control tracing and debug output without recompiling your code.</summary>
735 <member name="M:System.Diagnostics.TraceSwitch.#ctor(System.String,System.String)">
736 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceSwitch"></see> class, using the specified display name and description.</summary>
737 <param name="displayName">The name to display on a user interface.</param>
738 <param name="description">The description of the switch.</param>
740 <member name="M:System.Diagnostics.TraceSwitch.#ctor(System.String,System.String,System.String)">
741 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TraceSwitch"></see> class, using the specified display name, description, and default value for the switch.</summary>
742 <param name="displayName">The name to display on a user interface.</param>
743 <param name="description">The description of the switch.</param>
744 <param name="defaultSwitchValue">The default value of the switch.</param>
746 <member name="P:System.Diagnostics.TraceSwitch.Level">
747 <summary>Gets or sets the trace level that determines the messages the switch allows.</summary>
748 <returns>One of the <see cref="T:System.Diagnostics.TraceLevel"></see> values that that specifies the level of messages that are allowed by the switch.</returns>
749 <exception cref="T:System.ArgumentException"><see cref="P:System.Diagnostics.TraceSwitch.Level"></see> is set to a value that is not one of the <see cref="T:System.Diagnostics.TraceLevel"></see> values.</exception>
751 <member name="M:System.Diagnostics.TraceSwitch.OnSwitchSettingChanged">
752 <summary>Updates and corrects the level for this switch.</summary>
754 <member name="M:System.Diagnostics.TraceSwitch.OnValueChanged">
755 <summary>Sets the <see cref="P:System.Diagnostics.Switch.SwitchSetting"></see> property to the integer equivalent of the <see cref="P:System.Diagnostics.Switch.Value"></see> property.</summary>
757 <member name="P:System.Diagnostics.TraceSwitch.TraceError">
758 <summary>Gets a value indicating whether the switch allows error-handling messages.</summary>
759 <returns>true if the <see cref="P:System.Diagnostics.TraceSwitch.Level"></see> property is set to <see cref="F:System.Diagnostics.TraceLevel.Error"></see>, <see cref="F:System.Diagnostics.TraceLevel.Warning"></see>, <see cref="F:System.Diagnostics.TraceLevel.Info"></see>, or <see cref="F:System.Diagnostics.TraceLevel.Verbose"></see>; otherwise, false.</returns>
761 <member name="P:System.Diagnostics.TraceSwitch.TraceInfo">
762 <summary>Gets a value indicating whether the switch allows informational messages.</summary>
763 <returns>true if the <see cref="P:System.Diagnostics.TraceSwitch.Level"></see> property is set to <see cref="F:System.Diagnostics.TraceLevel.Info"></see> or <see cref="F:System.Diagnostics.TraceLevel.Verbose"></see>; otherwise, false.</returns>
765 <member name="P:System.Diagnostics.TraceSwitch.TraceVerbose">
766 <summary>Gets a value indicating whether the switch allows all messages.</summary>
767 <returns>true if the <see cref="P:System.Diagnostics.TraceSwitch.Level"></see> property is set to <see cref="F:System.Diagnostics.TraceLevel.Verbose"></see>; otherwise, false.</returns>
769 <member name="P:System.Diagnostics.TraceSwitch.TraceWarning">
770 <summary>Gets a value indicating whether the switch allows warning messages.</summary>
771 <returns>true if the <see cref="P:System.Diagnostics.TraceSwitch.Level"></see> property is set to <see cref="F:System.Diagnostics.TraceLevel.Warning"></see>, <see cref="F:System.Diagnostics.TraceLevel.Info"></see>, or <see cref="F:System.Diagnostics.TraceLevel.Verbose"></see>; otherwise, false.</returns>
773 <member name="T:System.Diagnostics.CorrelationManager">
774 <summary>Correlates traces that are part of a logical transaction.</summary>
776 <member name="P:System.Diagnostics.CorrelationManager.ActivityId">
777 <summary>Gets or sets the identity for a global activity.</summary>
778 <returns>A <see cref="T:System.Guid"></see> structure that identifies the global activity.</returns>
780 <member name="P:System.Diagnostics.CorrelationManager.LogicalOperationStack">
781 <summary>Gets the logical operation stack from the call context.</summary>
782 <returns>A <see cref="T:System.Collections.Stack"></see> object that represents the logical operation stack for the call context.</returns>
784 <member name="M:System.Diagnostics.CorrelationManager.StartLogicalOperation">
785 <summary>Starts a logical operation on a thread.</summary>
787 <member name="M:System.Diagnostics.CorrelationManager.StartLogicalOperation(System.Object)">
788 <summary>Starts a logical operation with the specified identity on a thread.</summary>
789 <param name="operationId">An object identifying the operation.</param>
790 <exception cref="T:System.ArgumentNullException">The <paramref name="operationId">operationId</paramref> parameter is null.</exception>
792 <member name="M:System.Diagnostics.CorrelationManager.StopLogicalOperation">
793 <summary>Stops the current logical operation.</summary>
794 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Diagnostics.CorrelationManager.LogicalOperationStack"></see> property is an empty stack.</exception>
796 <member name="T:System.Diagnostics.DefaultTraceListener">
797 <summary>Provides the default output methods and behavior for tracing.</summary>
799 <member name="M:System.Diagnostics.DefaultTraceListener.#ctor">
800 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DefaultTraceListener"></see> class with "Default" as its <see cref="P:System.Diagnostics.TraceListener.Name"></see> property value.</summary>
802 <member name="P:System.Diagnostics.DefaultTraceListener.AssertUiEnabled">
803 <summary>Gets or sets a value indicating whether the application is running in user-interface mode.</summary>
804 <returns>true if user-interface mode is enabled; otherwise, false.</returns>
806 <member name="M:System.Diagnostics.DefaultTraceListener.Fail(System.String)">
807 <summary>Emits or displays a message and a stack trace for an assertion that always fails.</summary>
808 <param name="message">The message to emit or display.</param>
810 <member name="M:System.Diagnostics.DefaultTraceListener.Fail(System.String,System.String)">
811 <summary>Emits or displays detailed messages and a stack trace for an assertion that always fails.</summary>
812 <param name="message">The message to emit or display.</param>
813 <param name="detailMessage">The detailed message to emit or display.</param>
815 <member name="P:System.Diagnostics.DefaultTraceListener.LogFileName">
816 <summary>Gets or sets the name of a log file to write trace or debug messages to.</summary>
817 <returns>The name of a log file to write trace or debug messages to.</returns>
819 <member name="M:System.Diagnostics.DefaultTraceListener.Write(System.String)">
820 <summary>Writes the output to the OutputDebugString function and to the <see cref="M:System.Diagnostics.Debugger.Log(System.Int32,System.String,System.String)"></see> method.</summary>
821 <param name="message">The message to write to OutputDebugString and <see cref="M:System.Diagnostics.Debugger.Log(System.Int32,System.String,System.String)"></see>.</param>
823 <member name="M:System.Diagnostics.DefaultTraceListener.WriteLine(System.String)">
824 <summary>Writes the output to the OutputDebugString function and to the <see cref="M:System.Diagnostics.Debugger.Log(System.Int32,System.String,System.String)"></see> method, followed by a carriage return and line feed (\r\n).</summary>
825 <param name="message">The message to write to OutputDebugString and <see cref="M:System.Diagnostics.Debugger.Log(System.Int32,System.String,System.String)"></see>.</param>
827 <member name="T:System.Diagnostics.BooleanSwitch">
828 <summary>Provides a simple on/off switch that controls debugging and tracing output.</summary>
830 <member name="M:System.Diagnostics.BooleanSwitch.#ctor(System.String,System.String)">
831 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.BooleanSwitch"></see> class with the specified display name and description.</summary>
832 <param name="displayName">The name to display on a user interface.</param>
833 <param name="description">The description of the switch.</param>
835 <member name="M:System.Diagnostics.BooleanSwitch.#ctor(System.String,System.String,System.String)">
836 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.BooleanSwitch"></see> class with the specified display name, description, and default switch value.</summary>
837 <param name="displayName">The name to display on the user interface.</param>
838 <param name="description">The description of the switch.</param>
839 <param name="defaultSwitchValue">The default value of the switch.</param>
841 <member name="P:System.Diagnostics.BooleanSwitch.Enabled">
842 <summary>Gets or sets a value indicating whether the switch is enabled or disabled.</summary>
843 <returns>true if the switch is enabled; otherwise, false. The default is false.</returns>
844 <exception cref="T:System.Security.SecurityException">The caller does not have the correct permission.</exception>
846 <member name="M:System.Diagnostics.BooleanSwitch.OnValueChanged">
847 <summary>Determines whether the new value of the <see cref="P:System.Diagnostics.Switch.Value"></see> property can be parsed as a Boolean value.</summary>
849 <member name="T:System.Diagnostics.SourceFilter">
850 <summary>Indicates whether a listener should trace a message based on the source of a trace.</summary>
852 <member name="M:System.Diagnostics.SourceFilter.#ctor(System.String)">
853 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SourceFilter"></see> class, specifying the name of the trace source.</summary>
854 <param name="source">The name of the trace source.</param>
856 <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[])">
857 <summary>Determines whether the trace listener should trace the event.</summary>
858 <param name="cache">An object that represents the information cache for the trace event.</param>
859 <param name="source">The name of the source.</param>
860 <param name="eventType">One of the enumeration values that identifies the event type.</param>
861 <param name="id">A trace identifier number.</param>
862 <param name="formatOrMessage">The format to use for writing an array of arguments or a message to write.</param>
863 <param name="args">An array of argument objects.</param>
864 <param name="data1">A trace data object.</param>
865 <param name="data">An array of trace data objects.</param>
866 <returns>true if the trace should be produced; otherwise, false.</returns>
867 <exception cref="T:System.ArgumentNullException"><paramref name="source">source</paramref> is null.</exception>
869 <member name="P:System.Diagnostics.SourceFilter.Source">
870 <summary>Gets or sets the name of the trace source.</summary>
871 <returns>The name of the trace source.</returns>
872 <exception cref="T:System.ArgumentNullException">The value is null.</exception>
874 <member name="T:System.Diagnostics.SourceLevels">
875 <summary>Specifies the levels of trace messages filtered by the source switch and event type filter.</summary>
877 <member name="F:System.Diagnostics.SourceLevels.ActivityTracing">
878 <summary>Allows the <see cref="F:System.Diagnostics.TraceEventType.Stop"></see>, <see cref="F:System.Diagnostics.TraceEventType.Start"></see>, <see cref="F:System.Diagnostics.TraceEventType.Suspend"></see>, <see cref="F:System.Diagnostics.TraceEventType.Transfer"></see>, and <see cref="F:System.Diagnostics.TraceEventType.Resume"></see> events through.</summary>
881 <member name="F:System.Diagnostics.SourceLevels.All">
882 <summary>Allows all events through.</summary>
885 <member name="F:System.Diagnostics.SourceLevels.Critical">
886 <summary>Allows only <see cref="F:System.Diagnostics.TraceEventType.Critical"></see> events through.</summary>
889 <member name="F:System.Diagnostics.SourceLevels.Error">
890 <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical"></see> and <see cref="F:System.Diagnostics.TraceEventType.Error"></see> events through.</summary>
893 <member name="F:System.Diagnostics.SourceLevels.Information">
894 <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical"></see>, <see cref="F:System.Diagnostics.TraceEventType.Error"></see>, <see cref="F:System.Diagnostics.TraceEventType.Warning"></see>, and <see cref="F:System.Diagnostics.TraceEventType.Information"></see> events through.</summary>
897 <member name="F:System.Diagnostics.SourceLevels.Off">
898 <summary>Does not allow any events through.</summary>
901 <member name="F:System.Diagnostics.SourceLevels.Verbose">
902 <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical"></see>, <see cref="F:System.Diagnostics.TraceEventType.Error"></see>, <see cref="F:System.Diagnostics.TraceEventType.Warning"></see>, <see cref="F:System.Diagnostics.TraceEventType.Information"></see>, and <see cref="F:System.Diagnostics.TraceEventType.Verbose"></see> events through.</summary>
905 <member name="F:System.Diagnostics.SourceLevels.Warning">
906 <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical"></see>, <see cref="F:System.Diagnostics.TraceEventType.Error"></see>, and <see cref="F:System.Diagnostics.TraceEventType.Warning"></see> events through.</summary>
909 <member name="T:System.Diagnostics.SourceSwitch">
910 <summary>Provides a multilevel switch to control tracing and debug output without recompiling your code.</summary>
912 <member name="M:System.Diagnostics.SourceSwitch.#ctor(System.String)">
913 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SourceSwitch"></see> class, specifying the name of the source.</summary>
914 <param name="name">The name of the source.</param>
916 <member name="M:System.Diagnostics.SourceSwitch.#ctor(System.String,System.String)">
917 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SourceSwitch"></see> class, specifying the display name and the default value for the source switch.</summary>
918 <param name="displayName">The name of the source switch.</param>
919 <param name="defaultSwitchValue">The default value for the switch.</param>
921 <member name="P:System.Diagnostics.SourceSwitch.Level">
922 <summary>Gets or sets the level of the switch.</summary>
923 <returns>One of the <see cref="T:System.Diagnostics.SourceLevels"></see> values that represents the event level of the switch.</returns>
925 <member name="M:System.Diagnostics.SourceSwitch.OnValueChanged">
926 <summary>Invoked when the value of the <see cref="P:System.Diagnostics.Switch.Value"></see> property changes.</summary>
927 <exception cref="T:System.ArgumentException">The new value of <see cref="P:System.Diagnostics.Switch.Value"></see> is not one of the <see cref="T:System.Diagnostics.SourceLevels"></see> values.</exception>
929 <member name="M:System.Diagnostics.SourceSwitch.ShouldTrace(System.Diagnostics.TraceEventType)">
930 <summary>Determines if trace listeners should be called, based on the trace event type.</summary>
931 <param name="eventType">One of the <see cref="T:System.Diagnostics.TraceEventType"></see> values.</param>
932 <returns>True if the trace listeners should be called; otherwise, false.</returns>
934 <member name="T:System.Diagnostics.Switch">
935 <summary>Provides an abstract base class to create new debugging and tracing switches.</summary>
937 <member name="M:System.Diagnostics.Switch.#ctor(System.String,System.String)">
938 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Switch"></see> class.</summary>
939 <param name="displayName">The name of the switch.</param>
940 <param name="description">The description for the switch.</param>
942 <member name="M:System.Diagnostics.Switch.#ctor(System.String,System.String,System.String)">
943 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Switch"></see> class, specifying the display name, description, and default value for the switch.</summary>
944 <param name="displayName">The name of the switch.</param>
945 <param name="description">The description of the switch.</param>
946 <param name="defaultSwitchValue">The default value for the switch.</param>
948 <member name="P:System.Diagnostics.Switch.Attributes">
949 <summary>Gets the custom switch attributes defined in the application configuration file.</summary>
950 <returns>A <see cref="T:System.Collections.Specialized.StringDictionary"></see> containing the case-insensitive custom attributes for the trace switch.</returns>
952 <member name="P:System.Diagnostics.Switch.Description">
953 <summary>Gets a description of the switch.</summary>
954 <returns>The description of the switch. The default value is an empty string ("").</returns>
956 <member name="P:System.Diagnostics.Switch.DisplayName">
957 <summary>Gets a name used to identify the switch.</summary>
958 <returns>The name used to identify the switch. The default value is an empty string ("").</returns>
960 <member name="M:System.Diagnostics.Switch.GetSupportedAttributes">
961 <summary>Gets the custom attributes supported by the switch.</summary>
962 <returns>A string array that contains the names of the custom attributes supported by the switch, or null if there no custom attributes are supported.</returns>
964 <member name="M:System.Diagnostics.Switch.OnSwitchSettingChanged">
965 <summary>Invoked when the <see cref="P:System.Diagnostics.Switch.SwitchSetting"></see> property is changed.</summary>
967 <member name="M:System.Diagnostics.Switch.OnValueChanged">
968 <summary>Invoked when the <see cref="P:System.Diagnostics.Switch.Value"></see> property is changed.</summary>
970 <member name="P:System.Diagnostics.Switch.SwitchSetting">
971 <summary>Gets or sets the current setting for this switch.</summary>
972 <returns>The current setting for this switch. The default is zero.</returns>
974 <member name="P:System.Diagnostics.Switch.Value">
975 <summary>Gets or sets the value of the switch.</summary>
976 <returns>A string representing the value of the switch.</returns>
977 <exception cref="T:System.Configuration.ConfigurationErrorsException">The value is null. -or- The value does not consist solely of an optional negative sign followed by a sequence of digits ranging from 0 to 9. -or- The value represents a number less than <see cref="F:System.Int32.MinValue"></see> or greater than <see cref="F:System.Int32.MaxValue"></see>.</exception>
979 <member name="T:System.Diagnostics.SwitchAttribute">
980 <summary>Identifies a switch used in an assembly, class, or member.</summary>
982 <member name="M:System.Diagnostics.SwitchAttribute.#ctor(System.String,System.Type)">
983 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SwitchAttribute"></see> class, specifying the name and the type of the switch.</summary>
984 <param name="switchName">The display name of the switch.</param>
985 <param name="switchType">The type of the switch.</param>
987 <member name="M:System.Diagnostics.SwitchAttribute.GetAll(System.Reflection.Assembly)">
988 <summary>Returns all switch attributes for the specified assembly.</summary>
989 <param name="assembly">The assembly to check for switch attributes.</param>
990 <returns>An array that contains all the switch attributes for the assembly.</returns>
991 <exception cref="T:System.ArgumentNullException"><paramref name="assembly">assembly</paramref> is null.</exception>
993 <member name="P:System.Diagnostics.SwitchAttribute.SwitchDescription">
994 <summary>Gets or sets the description of the switch.</summary>
995 <returns>The description of the switch.</returns>
997 <member name="P:System.Diagnostics.SwitchAttribute.SwitchName">
998 <summary>Gets or sets the display name of the switch.</summary>
999 <returns>The display name of the switch.</returns>
1000 <exception cref="T:System.ArgumentNullException"><see cref="P:System.Diagnostics.SwitchAttribute.SwitchName"></see> is set to null.</exception>
1001 <exception cref="T:System.ArgumentException"><see cref="P:System.Diagnostics.SwitchAttribute.SwitchName"></see> is set to an empty string.</exception>
1003 <member name="P:System.Diagnostics.SwitchAttribute.SwitchType">
1004 <summary>Gets or sets the type of the switch.</summary>
1005 <returns>The type of the switch.</returns>
1006 <exception cref="T:System.ArgumentNullException"><see cref="P:System.Diagnostics.SwitchAttribute.SwitchType"></see> is set to null.</exception>
1008 <member name="T:System.Diagnostics.SwitchLevelAttribute">
1009 <summary>Identifies the level type for a switch.</summary>
1011 <member name="M:System.Diagnostics.SwitchLevelAttribute.#ctor(System.Type)">
1012 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.SwitchLevelAttribute"></see> class, specifying the type that determines whether a trace should be written.</summary>
1013 <param name="switchLevelType">The <see cref="T:System.Type"></see> that determines whether a trace should be written.</param>
1015 <member name="P:System.Diagnostics.SwitchLevelAttribute.SwitchLevelType">
1016 <summary>Gets or sets the type that determines whether a trace should be written.</summary>
1017 <returns>The <see cref="T:System.Type"></see> that determines whether a trace should be written.</returns>
1018 <exception cref="T:System.ArgumentNullException">The set operation failed because the value is null.</exception>