1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Diagnostics.TextWriterTraceListener</name>
6 <member name="T:System.Diagnostics.DelimitedListTraceListener">
7 <summary>Directs tracing or debugging output to a text writer, such as a stream writer, or to a stream, such as a file stream.</summary>
9 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.IO.Stream)">
10 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified output stream.</summary>
11 <param name="stream">The <see cref="T:System.IO.Stream"></see> to receive the output.</param>
12 <exception cref="T:System.ArgumentNullException"><paramref name="stream">stream</paramref> is <see langword="null"></see>.</exception>
14 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.IO.TextWriter)">
15 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified text writer.</summary>
16 <param name="writer">The <see cref="T:System.IO.TextWriter"></see> to receive the output.</param>
17 <exception cref="T:System.ArgumentNullException"><paramref name="writer">writer</paramref> is <see langword="null"></see>.</exception>
19 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.String)">
20 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified file.</summary>
21 <param name="fileName">The name of the file to receive the output.</param>
22 <exception cref="T:System.ArgumentNullException"><paramref name="fileName">fileName</paramref> is <see langword="null"></see>.</exception>
24 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.IO.Stream,System.String)">
25 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified output stream and has the specified name.</summary>
26 <param name="stream">The <see cref="T:System.IO.Stream"></see> to receive the output.</param>
27 <param name="name">The name of the new instance of the trace listener.</param>
28 <exception cref="T:System.ArgumentNullException"><paramref name="stream">stream</paramref> is <see langword="null"></see>.</exception>
30 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.IO.TextWriter,System.String)">
31 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified text writer and has the specified name.</summary>
32 <param name="writer">The <see cref="T:System.IO.TextWriter"></see> to receive the output.</param>
33 <param name="name">The name of the new instance of the trace listener.</param>
34 <exception cref="T:System.ArgumentNullException"><paramref name="writer">writer</paramref> is <see langword="null"></see>.</exception>
36 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.String,System.String)">
37 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified file and has the specified name.</summary>
38 <param name="fileName">The name of the file to receive the output.</param>
39 <param name="name">The name of the new instance of the trace listener.</param>
40 <exception cref="T:System.ArgumentNullException"><paramref name="fileName">fileName</paramref> is <see langword="null"></see>.</exception>
42 <member name="P:System.Diagnostics.DelimitedListTraceListener.Delimiter">
43 <summary>Gets or sets the delimiter for the delimited list.</summary>
44 <returns>The delimiter for the delimited list.</returns>
45 <exception cref="T:System.ArgumentNullException"><see cref="System.Diagnostics.DelimitedListTraceListener.Delimiter"></see> is set to <see langword="null"></see>.</exception>
46 <exception cref="T:System.ArgumentException"><see cref="System.Diagnostics.DelimitedListTraceListener.Delimiter"></see> is set to an empty string (&quot;&quot;).</exception>
48 <member name="M:System.Diagnostics.DelimitedListTraceListener.GetSupportedAttributes">
49 <summary>Returns the custom configuration file attribute supported by the delimited trace listener.</summary>
50 <returns>A string array that contains the single value &quot;delimiter&quot;.</returns>
52 <member name="M:System.Diagnostics.DelimitedListTraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object)">
53 <summary>Writes trace information, a data object, and event information to the output file or stream.</summary>
54 <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>
55 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
56 <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>
57 <param name="id">A numeric identifier for the event.</param>
58 <param name="data">A data object to write to the output file or stream.</param>
60 <member name="M:System.Diagnostics.DelimitedListTraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object[])">
61 <summary>Writes trace information, an array of data objects, and event information to the output file or stream.</summary>
62 <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>
63 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
64 <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>
65 <param name="id">A numeric identifier for the event.</param>
66 <param name="data">An array of data objects to write to the output file or stream.</param>
68 <member name="M:System.Diagnostics.DelimitedListTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String)">
69 <summary>Writes trace information, a message, and event information to the output file or stream.</summary>
70 <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>
71 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
72 <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>
73 <param name="id">A numeric identifier for the event.</param>
74 <param name="message">The trace message to write to the output file or stream.</param>
76 <member name="M:System.Diagnostics.DelimitedListTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])">
77 <summary>Writes trace information, a formatted array of objects, and event information to the output file or stream.</summary>
78 <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>
79 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
80 <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>
81 <param name="id">A numeric identifier for the event.</param>
82 <param name="format">A format string that contains zero or more format items that correspond to objects in the args array.</param>
83 <param name="args">An array containing zero or more objects to format.</param>
85 <member name="T:System.Diagnostics.TextWriterTraceListener">
86 <summary>Directs tracing or debugging output to a <see cref="T:System.IO.TextWriter"></see> or to a <see cref="T:System.IO.Stream"></see>, such as <see cref="T:System.IO.FileStream"></see>.</summary>
88 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor">
89 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> class with <see cref="T:System.IO.TextWriter"></see> as the output recipient.</summary>
91 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.IO.Stream)">
92 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> class, using the stream as the recipient of the debugging and tracing output.</summary>
93 <param name="stream">A <see cref="T:System.IO.Stream"></see> that represents the stream the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> writes to.</param>
94 <exception cref="T:System.ArgumentNullException">The stream is <see langword="null"></see>.</exception>
96 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.IO.TextWriter)">
97 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> class using the specified writer as recipient of the tracing or debugging output.</summary>
98 <param name="writer">A <see cref="T:System.IO.TextWriter"></see> that receives the output from the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see>.</param>
99 <exception cref="T:System.ArgumentNullException">The writer is <see langword="null"></see>.</exception>
101 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.String)">
102 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> class, using the file as the recipient of the debugging and tracing output.</summary>
103 <param name="fileName">The name of the file the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> writes to.</param>
104 <exception cref="T:System.ArgumentNullException">The file is <see langword="null"></see>.</exception>
106 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.IO.Stream,System.String)">
107 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> class with the specified name, using the stream as the recipient of the debugging and tracing output.</summary>
108 <param name="stream">A <see cref="T:System.IO.Stream"></see> that represents the stream the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> writes to.</param>
109 <param name="name">The name of the new instance.</param>
110 <exception cref="T:System.ArgumentNullException">The stream is <see langword="null"></see>.</exception>
112 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.IO.TextWriter,System.String)">
113 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> class with the specified name, using the specified writer as recipient of the tracing or debugging output.</summary>
114 <param name="writer">A <see cref="T:System.IO.TextWriter"></see> that receives the output from the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see>.</param>
115 <param name="name">The name of the new instance.</param>
116 <exception cref="T:System.ArgumentNullException">The writer is <see langword="null"></see>.</exception>
118 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.String,System.String)">
119 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> class with the specified name, using the file as the recipient of the debugging and tracing output.</summary>
120 <param name="fileName">The name of the file the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> writes to.</param>
121 <param name="name">The name of the new instance.</param>
122 <exception cref="T:System.ArgumentNullException">The stream is <see langword="null"></see>.</exception>
124 <member name="M:System.Diagnostics.TextWriterTraceListener.Close">
125 <summary>Closes the <see cref="P:System.Diagnostics.TextWriterTraceListener.Writer"></see> so that it no longer receives tracing or debugging output.</summary>
127 <member name="M:System.Diagnostics.TextWriterTraceListener.Dispose(System.Boolean)">
128 <summary>Disposes this <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> object.</summary>
129 <param name="disposing"><see langword="true"></see> to release managed resources; if <see langword="false"></see>, <see cref="M:System.Diagnostics.TextWriterTraceListener.Dispose(System.Boolean)"></see> has no effect.</param>
131 <member name="M:System.Diagnostics.TextWriterTraceListener.Flush">
132 <summary>Flushes the output buffer for the <see cref="P:System.Diagnostics.TextWriterTraceListener.Writer"></see>.</summary>
134 <member name="M:System.Diagnostics.TextWriterTraceListener.Write(System.String)">
135 <summary>Writes a message to this instance&#39;s <see cref="P:System.Diagnostics.TextWriterTraceListener.Writer"></see>.</summary>
136 <param name="message">A message to write.</param>
138 <member name="M:System.Diagnostics.TextWriterTraceListener.WriteLine(System.String)">
139 <summary>Writes a message to this instance&#39;s <see cref="P:System.Diagnostics.TextWriterTraceListener.Writer"></see> followed by a line terminator. The default line terminator is a carriage return followed by a line feed (\r\n).</summary>
140 <param name="message">A message to write.</param>
142 <member name="P:System.Diagnostics.TextWriterTraceListener.Writer">
143 <summary>Gets or sets the text writer that receives the tracing or debugging output.</summary>
144 <returns>A <see cref="T:System.IO.TextWriter"></see> that represents the writer that receives the tracing or debugging output.</returns>