Share via


SourceFilter.Source 屬性

定義

取得或設定追蹤來源的名稱。

public:
 property System::String ^ Source { System::String ^ get(); void set(System::String ^ value); };
public string Source { get; set; }
member this.Source : string with get, set
Public Property Source As String

屬性值

追蹤來源的名稱。

例外狀況

值為 null

備註

Source 會識別要寫入追蹤資訊的追蹤來源。 不會寫入其他追蹤來源的追蹤資訊。 追蹤來源的名稱是 name 的建構函 TraceSource式中的 參數。

適用於