TeamFoundationRequestContext.TraceThrow<TException> 方法 (Int32, TraceLevel, String, String, TException)

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Overridable Function TraceThrow(Of TException As Exception) ( _
    tracepoint As Integer, _
    level As TraceLevel, _
    area As String, _
    layer As String, _
    exception As TException _
) As TException
public virtual TException TraceThrow<TException>(
    int tracepoint,
    TraceLevel level,
    string area,
    string layer,
    TException exception
)
where TException : Exception

類型參數

  • TException

參數

  • exception
    類型:TException

傳回值

類型:TException

.NET Framework 安全性

請參閱

參考

TeamFoundationRequestContext 類別

TraceThrow 多載

Microsoft.TeamFoundation.Framework.Server 命名空間