Share via


FilteredSafeExtensions Class

Provides extensions for selecting and filtering from IEnumerable<T> while catching a fixed set of exception and logs those exceptions using ConfigurationLogWriter.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Extensions
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class FilteredSafeExtensions
public static class FilteredSafeExtensions
[ExtensionAttribute]
public ref class FilteredSafeExtensions abstract sealed
public final class FilteredSafeExtensions

Remarks

This monitors for a fixed set of exceptions and logs those exceptions using LogWarning(String). The set of exceptions currently monitore are: FileLoadExceptionFileNotFoundExceptionTypeLoadExceptionReflectionTypeLoadException

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Extensions.FilteredSafeExtensions

See Also

FilteredSafeExtensions Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Extensions Namespace