Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writes an error message to the trace.
Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Sub Error ( _
    format As String, _
    ParamArray args As Object() _
)
public void Error(
    string format,
    params Object[] args
)
public:
virtual void Error(
    String^ format, 
    ... array<Object^>^ args
) sealed
abstract Error : 
        format:string * 
        args:Object[] -> unit  
override Error : 
        format:string * 
        args:Object[] -> unit
public final function Error(
    format : String, 
    ... args : Object[]
)
Parameters
- format 
 Type: System.String- A format string that contains zero or more format items, which correspond to objects in the args array. 
- args 
 Type: array<System.Object[]- An object array containing zero or more objects to format. 
Implements
ITFLogger.Error(String, array<Object[])
.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.