FaultEvent.IsIncludedInWatsonSample 属性

定义

获取或设置一个值,该值指示是否在本地采样此事件。 仅影响 Watson。 如果为 false,则不会发送到 Watson:仅将遥测事件发送到 AI,不调用回调。 更改此将强制向 Watson 发送事件。 请小心,因为它可能会对性能产生重大影响。 如果未更改,则将根据默认采样速率进行设置。 请参见Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.DefaultWatsonSamplePercent

public:
 property Nullable<bool> IsIncludedInWatsonSample { Nullable<bool> get(); void set(Nullable<bool> value); };
public bool? IsIncludedInWatsonSample { get; set; }
member this.IsIncludedInWatsonSample : Nullable<bool> with get, set
Public Property IsIncludedInWatsonSample As Nullable(Of Boolean)

属性值

Nullable<Boolean>

适用于