TeamFoundationTrace.TraceAndDebugFailException Method
Write an exception to the trace output and fail with the specified exception.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Sub TraceAndDebugFailException ( _
exception As Exception _
)
public static void TraceAndDebugFailException(
Exception exception
)
public:
static void TraceAndDebugFailException(
Exception^ exception
)
static member TraceAndDebugFailException :
exception:Exception -> unit
public static function TraceAndDebugFailException(
exception : Exception
)
Parameters
- exception
Type: System.Exception
The exception object to write to the trace output.
.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.