共用方式為


FaultEvent.WatsonSamplePercent Property

Definition

Gets or sets the sample rate used to calculate whether or not a qualifying fault event will be reported to Watson. A fault event qualifies for reporting to Watson if it is modified in at least one of the following methods is called on it:

  1. AddErrorInformation
  2. AddFile
  3. AddProcessDump
public:
 static property Nullable<int> WatsonSamplePercent { Nullable<int> get(); void set(Nullable<int> value); };
public static int? WatsonSamplePercent { get; set; }
static member WatsonSamplePercent : Nullable<int> with get, set
Public Shared Property WatsonSamplePercent As Nullable(Of Integer)

Property Value

Applies to