TeamFoundationServiceHost.ReportException Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Sub ReportException ( _
watsonReportingName As String, _
eventCategory As String, _
exception As Exception, _
additionalInfo As String() _
)
public virtual void ReportException(
string watsonReportingName,
string eventCategory,
Exception exception,
string[] additionalInfo
)
public:
virtual void ReportException(
String^ watsonReportingName,
String^ eventCategory,
Exception^ exception,
array<String^>^ additionalInfo
)
abstract ReportException :
watsonReportingName:string *
eventCategory:string *
exception:Exception *
additionalInfo:string[] -> unit
override ReportException :
watsonReportingName:string *
eventCategory:string *
exception:Exception *
additionalInfo:string[] -> unit
public function ReportException(
watsonReportingName : String,
eventCategory : String,
exception : Exception,
additionalInfo : String[]
)
Parameters
- watsonReportingName
Type: System.String
- eventCategory
Type: System.String
- exception
Type: System.Exception
- additionalInfo
Type: array<System.String[]
.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.