Partager via


TeamFoundationTrace.Error Method (array<String[], String, array<Object )

Write a message to the trace output using the specified category

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

Syntax

'Declaration
Public Shared Sub Error ( _
    keywords As String(), _
    format As String, _
    ParamArray args As Object() _
)
public static void Error(
    string[] keywords,
    string format,
    params Object[] args
)
public:
static void Error(
    array<String^>^ keywords, 
    String^ format, 
    ... array<Object^>^ args
)
static member Error : 
        keywords:string[] * 
        format:string * 
        args:Object[] -> unit
public static function Error(
    keywords : String[], 
    format : String, 
    ... args : Object[]
)

Parameters

  • format
    Type: System.String

    The string format to which args is applied

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

Error Overload

Microsoft.TeamFoundation Namespace