TeamFoundationTrace.Error Method (String, Exception)

Write an exception to the trace output.

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

Syntax

'宣言
Public Shared Sub Error ( _
    info As String, _
    exception As Exception _
)
public static void Error(
    string info,
    Exception exception
)
public:
static void Error(
    String^ info, 
    Exception^ exception
)
static member Error : 
        info:string * 
        exception:Exception -> unit 
public static function Error(
    info : String, 
    exception : Exception
)

Parameters

Remarks

Uses the General category and Error level.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

Error Overload

Microsoft.TeamFoundation Namespace