Share via


ExceptionFormatter Class

Class for formatting an exception for display.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Common.ExceptionFormatter

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public NotInheritable Class ExceptionFormatter
public static class ExceptionFormatter
public ref class ExceptionFormatter abstract sealed
[<AbstractClass>]
[<Sealed>]
type ExceptionFormatter =  class end
public final class ExceptionFormatter

The ExceptionFormatter type exposes the following members.

Properties

  Name Description
Public propertyStatic member ShowDetailedExceptions Gets or sets a flag indicating whether to show detailed exceptions.

Top

Methods

  Name Description
Public methodStatic member FormatExceptionForDisplay Formats the specified exception to be displayed and read by a user.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Common Namespace