TeamFoundationTrace.TraceAndDebugFailException Method (Exception)

Write an exception to the trace output and fail with the specified exception.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Shared Sub TraceAndDebugFailException ( _
    exception As Exception _
)
public static void TraceAndDebugFailException(
    Exception exception
)
public:
static void TraceAndDebugFailException(
    Exception^ exception
)
static member TraceAndDebugFailException : 
        exception:Exception -> unit
public static function TraceAndDebugFailException(
    exception : Exception
)

Parameters

  • exception
    Type: System.Exception

    The exception object to write to the trace output.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

TraceAndDebugFailException Overload

Microsoft.TeamFoundation Namespace