다음을 통해 공유


AdminTraceLogger.Error Method (String, array<Object )

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

See Also

Reference

AdminTraceLogger Class

Error Overload

Microsoft.TeamFoundation.Common Namespace