Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Report an exception through Dr. Watson.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
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
)
public:
virtual void ReportException(
    String^ watsonReportingName, 
    String^ eventCategory, 
    Exception^ exception, 
    array<String^>^ additionalInfo
) override
abstract ReportException : 
        watsonReportingName:string * 
        eventCategory:string * 
        exception:Exception * 
        additionalInfo:string[] -> unit  
override ReportException : 
        watsonReportingName:string * 
        eventCategory:string * 
        exception:Exception * 
        additionalInfo:string[] -> unit
public override function ReportException(
    watsonReportingName : String, 
    eventCategory : String, 
    exception : Exception, 
    additionalInfo : String[]
)
Parameters
- watsonReportingName
 Type: System.String
- eventCategory 
 Type: System.String- One of the event categories from the WatsonReport class 
- exception 
 Type: System.Exception- The exception to report. 
- additionalInfo 
 Type: array<System.String[]- More information, if any, to include with the report. 
Remarks
Generally, unhandled or unanticipated exceptions are reported.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.