Delen via


TeamFoundationTrace.TraceAndDebugFailException Method (array<String , Exception)

Write an exception to the trace output and Debug.Fail with the exception message

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

Syntax

'Declaration
Public Shared Sub TraceAndDebugFailException ( _
    keywords As String(), _
    exception As Exception _
)
public static void TraceAndDebugFailException(
    string[] keywords,
    Exception exception
)
public:
static void TraceAndDebugFailException(
    array<String^>^ keywords, 
    Exception^ exception
)
static member TraceAndDebugFailException : 
        keywords:string[] * 
        exception:Exception -> unit
public static function TraceAndDebugFailException(
    keywords : String[], 
    exception : Exception
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

TraceAndDebugFailException Overload

Microsoft.TeamFoundation Namespace