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