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
- keywords 
 Type: array<System.String[]- One or more keywords 
- method 
 Type: System.String- An application defined method (may be null) 
- exception 
 Type: System.Exception- The exception that should be traced 
Remarks
The exception is traced using the General keyword, trace level Error
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.