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.
Formats an exception and writes it as an error message to the trace.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Sub Error ( _
exception As Exception _
)
public void Error(
Exception exception
)
public:
virtual void Error(
Exception^ exception
) sealed
abstract Error :
exception:Exception -> unit
override Error :
exception:Exception -> unit
public final function Error(
exception : Exception
)
Parameters
exception
Type: System.ExceptionAn exception to write to the trace. Null is allowed.
Implements
.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.