1 <?xml version="1.0" encoding="utf-8"?><span>
4 <name>System.Diagnostics.TextWriterTraceListener</name>
7 <member name="T:System.Diagnostics.TextWriterTraceListener">
8 <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>
10 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor">
11 <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>
13 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.IO.Stream)">
14 <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>
15 <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>
16 <exception cref="T:System.ArgumentNullException">The stream is null.</exception>
18 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.IO.TextWriter)">
19 <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>
20 <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>
21 <exception cref="T:System.ArgumentNullException">The writer is null.</exception>
23 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.String)">
24 <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>
25 <param name="fileName">The name of the file the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> writes to.</param>
26 <exception cref="T:System.ArgumentNullException">The file is null.</exception>
28 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.IO.Stream,System.String)">
29 <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>
30 <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>
31 <param name="name">The name of the new instance.</param>
32 <exception cref="T:System.ArgumentNullException">The stream is null.</exception>
34 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.IO.TextWriter,System.String)">
35 <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>
36 <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>
37 <param name="name">The name of the new instance.</param>
38 <exception cref="T:System.ArgumentNullException">The writer is null.</exception>
40 <member name="M:System.Diagnostics.TextWriterTraceListener.#ctor(System.String,System.String)">
41 <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>
42 <param name="fileName">The name of the file the <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> writes to.</param>
43 <param name="name">The name of the new instance.</param>
44 <exception cref="T:System.ArgumentNullException">The stream is null.</exception>
46 <member name="M:System.Diagnostics.TextWriterTraceListener.Close">
47 <summary>Closes the <see cref="P:System.Diagnostics.TextWriterTraceListener.Writer"></see> so that it no longer receives tracing or debugging output.</summary>
49 <member name="M:System.Diagnostics.TextWriterTraceListener.Dispose(System.Boolean)">
50 <summary>Disposes this <see cref="T:System.Diagnostics.TextWriterTraceListener"></see> object.</summary>
51 <param name="disposing">true to release managed resources; if false, <see cref="M:System.Diagnostics.TextWriterTraceListener.Dispose(System.Boolean)"></see> has no effect.</param>
53 <member name="M:System.Diagnostics.TextWriterTraceListener.Flush">
54 <summary>Flushes the output buffer for the <see cref="P:System.Diagnostics.TextWriterTraceListener.Writer"></see>.</summary>
56 <member name="M:System.Diagnostics.TextWriterTraceListener.Write(System.String)">
57 <summary>Writes a message to this instance's <see cref="P:System.Diagnostics.TextWriterTraceListener.Writer"></see>.</summary>
58 <param name="message">A message to write.</param>
60 <member name="M:System.Diagnostics.TextWriterTraceListener.WriteLine(System.String)">
61 <summary>Writes a message to this instance'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>
62 <param name="message">A message to write.</param>
64 <member name="P:System.Diagnostics.TextWriterTraceListener.Writer">
65 <summary>Gets or sets the text writer that receives the tracing or debugging output.</summary>
66 <returns>A <see cref="T:System.IO.TextWriter"></see> that represents the writer that receives the tracing or debugging output.</returns>
68 <member name="T:System.Diagnostics.DelimitedListTraceListener">
69 <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>
71 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.IO.Stream)">
72 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified output stream.</summary>
73 <param name="stream">The <see cref="T:System.IO.Stream"></see> to receive the output.</param>
74 <exception cref="T:System.ArgumentNullException"><paramref name="stream">stream</paramref> is null.</exception>
76 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.IO.TextWriter)">
77 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified text writer.</summary>
78 <param name="writer">The <see cref="T:System.IO.TextWriter"></see> to receive the output.</param>
79 <exception cref="T:System.ArgumentNullException"><paramref name="writer">writer</paramref> is null.</exception>
81 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.String)">
82 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.DelimitedListTraceListener"></see> class that writes to the specified file.</summary>
83 <param name="fileName">The name of the file to receive the output.</param>
84 <exception cref="T:System.ArgumentNullException"><paramref name="fileName">fileName</paramref> is null.</exception>
86 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.IO.Stream,System.String)">
87 <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>
88 <param name="stream">The <see cref="T:System.IO.Stream"></see> to receive the output.</param>
89 <param name="name">The name of the new instance of the trace listener.</param>
90 <exception cref="T:System.ArgumentNullException"><paramref name="stream">stream</paramref> is null.</exception>
92 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.IO.TextWriter,System.String)">
93 <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>
94 <param name="writer">The <see cref="T:System.IO.TextWriter"></see> to receive the output.</param>
95 <param name="name">The name of the new instance of the trace listener.</param>
96 <exception cref="T:System.ArgumentNullException"><paramref name="writer">writer</paramref> is null.</exception>
98 <member name="M:System.Diagnostics.DelimitedListTraceListener.#ctor(System.String,System.String)">
99 <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>
100 <param name="fileName">The name of the file to receive the output.</param>
101 <param name="name">The name of the new instance of the trace listener.</param>
102 <exception cref="T:System.ArgumentNullException"><paramref name="fileName">fileName</paramref> is null.</exception>
104 <member name="P:System.Diagnostics.DelimitedListTraceListener.Delimiter">
105 <summary>Gets or sets the delimiter for the delimited list.</summary>
106 <returns>The delimiter for the delimited list.</returns>
107 <exception cref="T:System.ArgumentNullException"><see cref="P:System.Diagnostics.DelimitedListTraceListener.Delimiter"></see> is set to null.</exception>
108 <exception cref="T:System.ArgumentException"><see cref="P:System.Diagnostics.DelimitedListTraceListener.Delimiter"></see> is set to an empty string ("").</exception>
110 <member name="M:System.Diagnostics.DelimitedListTraceListener.GetSupportedAttributes">
111 <summary>Returns the custom configuration file attribute supported by the delimited trace listener.</summary>
112 <returns>A string array that contains the single value "delimiter".</returns>
114 <member name="M:System.Diagnostics.DelimitedListTraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object)">
115 <summary>Writes trace information, a data object, and event information to the output file or stream.</summary>
116 <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>
117 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
118 <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>
119 <param name="id">A numeric identifier for the event.</param>
120 <param name="data">A data object to write to the output file or stream.</param>
122 <member name="M:System.Diagnostics.DelimitedListTraceListener.TraceData(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.Object[])">
123 <summary>Writes trace information, an array of data objects, and event information to the output file or stream.</summary>
124 <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>
125 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
126 <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>
127 <param name="id">A numeric identifier for the event.</param>
128 <param name="data">An array of data objects to write to the output file or stream.</param>
130 <member name="M:System.Diagnostics.DelimitedListTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String)">
131 <summary>Writes trace information, a message, and event information to the output file or stream.</summary>
132 <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>
133 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
134 <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>
135 <param name="id">A numeric identifier for the event.</param>
136 <param name="message">The trace message to write to the output file or stream.</param>
138 <member name="M:System.Diagnostics.DelimitedListTraceListener.TraceEvent(System.Diagnostics.TraceEventCache,System.String,System.Diagnostics.TraceEventType,System.Int32,System.String,System.Object[])">
139 <summary>Writes trace information, a formatted array of objects, and event information to the output file or stream.</summary>
140 <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>
141 <param name="source">A name used to identify the output, typically the name of the application that generated the trace event.</param>
142 <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>
143 <param name="id">A numeric identifier for the event.</param>
144 <param name="format">A format string that contains zero or more format items that correspond to objects in the args array.</param>
145 <param name="args">An array containing zero or more objects to format.</param>