Partager via


IExceptionConfigurationAddExceptionHandlers Members

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

The IExceptionConfigurationAddExceptionHandlers type exposes the following members.

Methods

  Name Description
Public method Equals
Redeclaration that hides the Equals(Object) method from IntelliSense.
(Inherited from IFluentInterface.)
Public method GetHashCode
Redeclaration that hides the GetHashCode() method from IntelliSense.
(Inherited from IFluentInterface.)
Public method GetType
Redeclaration that hides the GetType() method from IntelliSense.
(Inherited from IFluentInterface.)
Public method ThenDoNothing
End the current exception handling chain by doing nothing more.
(Inherited from IExceptionConfigurationThenDoPostHandlingAction.)
Public method ThenNotifyRethrow
End the current exception handling chain by notifying the caller that an exception should be rethrown.
(Inherited from IExceptionConfigurationThenDoPostHandlingAction.)
Public method ThenThrowNewException
End the current exception handling chain by throwing a new exception.
(Inherited from IExceptionConfigurationThenDoPostHandlingAction.)
Public method ToString
Redeclaration that hides the ToString() method from IntelliSense.
(Inherited from IFluentInterface.)

Extension Methods

  Name Description
Public Extension Method LogToCategory
Category name to log Exception under. This should align with a category name defined through the LoggingConfigurationSourceBuilderExtensions extensions.
(Defined by ExceptionHandlingLoggingConfigurationSourceBuilderExtensions.)
Public Extension Method ReplaceWith(Type) Overloaded.
Replace exception with new exception type.
(Defined by ReplaceWithHandlerLoggingConfigurationSourceBuilderExtensions.)
Public Extension Method ReplaceWith<T>() Overloaded.
Replace exception with new exception type.
(Defined by ReplaceWithHandlerLoggingConfigurationSourceBuilderExtensions.)
Public Extension Method WrapWith(Type) Overloaded.
Wrap exception with the new exception type.
(Defined by WrapWithHandlerLoggingConfigurationSourceBuilderExtensions.)
Public Extension Method WrapWith<T>() Overloaded.
Wrap exception with the new exception type.
(Defined by WrapWithHandlerLoggingConfigurationSourceBuilderExtensions.)

See Also

IExceptionConfigurationAddExceptionHandlers Interface

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace