Click or drag to resize

ExceptionExtensions Class

Exception extensions.
Inheritance Hierarchy
SystemObject
  SystemExceptionExtensions

Namespace:  System
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.1.0
Syntax
public static class ExceptionExtensions

The ExceptionExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberContainsT
Determines whether the exception has a specified type or was triggered by an underlying exception of a specified type. This is useful for checking whether an exception has a specific inner exception or whether an AggregateException was triggered with a specific exception type.
Public methodStatic memberFind(Exception, Type)
Searches an exception for an underlying exception of a specific type. This is useful for checking whether an exception has a specific inner exception or whether an AggregateException was triggered with a specific exception type.
Public methodStatic memberFindT(Exception)
Searches an exception for an underlying exception of a specific type specified as a generic type parameter. This is useful for checking whether an exception has a specific inner exception or whether an AggregateException was triggered with a specific exception type.
Top
See Also