Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Write an exception to the trace output.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
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
info
Type: System.StringThe message giving exception context.
exception
Type: System.ExceptionThe exception to write.
Remarks
Uses the General category and Error level.
.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.