FakeLogCollectorOptions.FilteredCategories 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置为其收集记录的记录器类别。
public:
property System::Collections::Generic::ISet<System::String ^> ^ FilteredCategories { System::Collections::Generic::ISet<System::String ^> ^ get(); void set(System::Collections::Generic::ISet<System::String ^> ^ value); };
public System.Collections.Generic.ISet<string> FilteredCategories { get; set; }
member this.FilteredCategories : System.Collections.Generic.ISet<string> with get, set
Public Property FilteredCategories As ISet(Of String)
属性值
默认值为空集。
注解
默认为空集,它不会筛选任何记录。 如果不是空,则假记录器将仅收集来自这些类别中的记录器的记录。