WatsonReport.CreateReport 方法
命名空間: 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。