This documentation is archived and is not being maintained.
TeamFoundationExceptionFormatter::FormatException Method
Visual Studio 2013
Formats the specified Exception, including all inner exceptions.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
public: static String^ FormatException( Exception^ exception, bool useBriefFormat )
Parameters
- exception
- Type: System::Exception
The top-level exception to format.
- useBriefFormat
- Type: System::Boolean
Omits exception details form the retur value.
Return Value
Type: System::StringA formatted string that describes the exception and the nested inner exceptions.
- 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.
Show: