共用方式為


FaultEvent.SetBucketParameter(Int32, String) Method

Definition

Set the bucket parameter for a Watson issue Should not contain any full file paths or PII A unique set of 10 bucket parameters constitues a BucketId, which is considered the same failure. When passing in an Exception Object, the bucket parameters are set by the IClrErrorReportingManager::GetBucketParametersForCurrentException

public:
 virtual void SetBucketParameter(int bucketNumber, System::String ^ newBucketValue);
public void SetBucketParameter (int bucketNumber, string newBucketValue);
abstract member SetBucketParameter : int * string -> unit
override this.SetBucketParameter : int * string -> unit
Public Sub SetBucketParameter (bucketNumber As Integer, newBucketValue As String)

Parameters

bucketNumber
Int32

int 0-9

newBucketValue
String

max len 255. Can be queried at http://Watson

Implements

Applies to