命名空间: Microsoft.TeamFoundation.Common.Internal
程序集: Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)
语法
声明
Public Shared Function CreateReport ( _
reportType As WatsonReport.WatsonReportType, _
eventType As String, _
exceptionToReport As Exception _
) As WatsonReport
public static WatsonReport CreateReport(
WatsonReport.WatsonReportType reportType,
string eventType,
Exception exceptionToReport
)
参数
- eventType
类型:System.String
- exceptionToReport
类型:System.Exception
返回值
类型:Microsoft.TeamFoundation.Common.Internal.WatsonReport
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。