FaultEvent.SetFailureParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the bucket parameters which compose the unique Failure ID for the reported fault as processed in Watson and elsewhere. Failure parameters which are left unspecified or passed a null value will retain their original value set by default. See the DevDiv wiki for additional documentation. This is the recommended API to use for customizing the unique failure identification process for your team's faults.
public void SetFailureParameters (string failureParameter0 = default, string failureParameter1 = default, string failureParameter2 = default, string failureParameter3 = default, string failureParameter4 = default);
member this.SetFailureParameters : string * string * string * string * string -> unit
Public Sub SetFailureParameters (Optional failureParameter0 As String = Nothing, Optional failureParameter1 As String = Nothing, Optional failureParameter2 As String = Nothing, Optional failureParameter3 As String = Nothing, Optional failureParameter4 As String = Nothing)
Parameters
- failureParameter0
- String
The parameter value for Failure Parameter 0
- failureParameter1
- String
The parameter value for Failure Parameter 1
- failureParameter2
- String
The parameter value for Failure Parameter 2
- failureParameter3
- String
The parameter value for Failure Parameter 3
- failureParameter4
- String
The parameter value for Failure Parameter 4