共用方式為


EventSchemaTraceListener.Writer 屬性

定義

取得或設定會寫入記錄檔的基礎文字寫入器。

public:
 property System::IO::TextWriter ^ Writer { System::IO::TextWriter ^ get(); void set(System::IO::TextWriter ^ value); };
public System.IO.TextWriter Writer { [System.Security.SecurityCritical] get; set; }
[<get: System.Security.SecurityCritical>]
member this.Writer : System.IO.TextWriter with get, set
Public Property Writer As TextWriter

屬性值

TextWriter 物件。

屬性

例外狀況

嘗試指派值給 Writer 屬性。

備註

嘗試使用 屬性的 Writer set 存取子會引發 NotSupportedException

適用於