Writer Property
Collapse the table of content
Expand the table of content

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:
property TextWriter^ Writer {
	[SecurityCriticalAttribute]
	TextWriter^ get();
	void set(TextWriter^ value);
}

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:
© 2016 Microsoft