EventSchemaTraceListener.Writer Property

Definition

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

C#
public System.IO.TextWriter Writer { [System.Security.SecurityCritical] get; set; }

Property Value

A TextWriter object.

Attributes

Exceptions

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

Remarks

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

Applies to

Produkt Versioner
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1