TeamFoundationTrace.TraceException Method (array<String , String, Exception)

Write an exception to the trace output

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

Syntax

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

Parameters

  • method
    Type: System.String

    An application defined method (may be null)

Remarks

The exception is traced using the General keyword, trace level Error

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

TraceException Overload

Microsoft.TeamFoundation Namespace