TraceSource.Listeners 屬性

定義

取得追蹤來源的追蹤接聽程式集合。

public:
 property System::Diagnostics::TraceListenerCollection ^ Listeners { System::Diagnostics::TraceListenerCollection ^ get(); };
public System.Diagnostics.TraceListenerCollection Listeners { get; }
member this.Listeners : System.Diagnostics.TraceListenerCollection
Public ReadOnly Property Listeners As TraceListenerCollection

屬性值

TraceListenerCollection,包含與來源相關聯之現用中的追蹤接聽程式。

備註

使用這個屬性來存取及執行追蹤接聽程式上的作業。

適用於