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)

public TextWriter Writer {
	[SecurityCriticalAttribute]
	get;
	set;
}

Property Value

Type: System.IO.TextWriter

A TextWriter object.

Exception Condition
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
Available since 3.5
Return to top
Show: