Share via


DeploymentServiceHost.ReportException, méthode

Enregistrez une exception via le dump. Watson.

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
Public Overrides Sub ReportException ( _
    watsonReportingName As String, _
    eventCategory As String, _
    exception As Exception, _
    additionalInfo As String() _
)
public override void ReportException(
    string watsonReportingName,
    string eventCategory,
    Exception exception,
    string[] additionalInfo
)

Paramètres

  • eventCategory
    Type : System.String
    Une des catégories d'événements de la classe de WatsonReport
  • additionalInfo
    Type : array<System.String[]
    Plus d'informations, le cas échéant, à inclure avec le rapport.

Notes

En général, les exceptions non gérées ou imprévues sont enregistrées.

Sécurité .NET Framework

Voir aussi

Référence

DeploymentServiceHost Classe

Microsoft.TeamFoundation.Framework.Server, espace de noms