Export (0) Print
Expand All

EventSchemaTraceListener.Writer Property

Gets or sets the underlying text writer that writes to the log file.

Namespace:  System.Diagnostics
Assembly:  System.Core (in System.Core.dll)

'Declaration
Public Property Writer As TextWriter

Property Value

Type: System.IO.TextWriter
A TextWriter object.

ExceptionCondition
NotSupportedException

An attempt was made to assign a value to the Writer property.

An attempt to use the set accessor for the Writer property raises a NotSupportedException.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft