Delen via


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

Write an exception, information, and method to the trace output

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

Syntax

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

Parameters

  • info
    Type: System.String

    Application defined information (may be null)

  • method
    Type: System.String

    Application defined method (may be null)

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

Error Overload

Microsoft.TeamFoundation Namespace