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.
Write an exception to the trace output and Debug.Fail with the exception message
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Sub TraceAndDebugFailException ( _
keywords As String(), _
exception As Exception _
)
public static void TraceAndDebugFailException(
string[] keywords,
Exception exception
)
public:
static void TraceAndDebugFailException(
array<String^>^ keywords,
Exception^ exception
)
static member TraceAndDebugFailException :
keywords:string[] *
exception:Exception -> unit
public static function TraceAndDebugFailException(
keywords : String[],
exception : Exception
)
Parameters
keywords
Type: array<System.String[]One or more keywords
exception
Type: System.ExceptionThe exception to be traced.
.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.