IExceptionConfigurationReplaceWithProvider 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 IExceptionConfigurationReplaceWithProvider 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 GivenPolicyWithName
Defines new policy with a given name.
(Inherited from IExceptionConfigurationGivenPolicyWithName.)
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.)
Public method UsingMessage
Use the provided message as part of the new exception.
(Inherited from IExceptionConfigurationWithMessage.)
Public method UsingResourceMessage
Use the message in the specified resource file and name.
(Inherited from IExceptionConfigurationWithMessage.)

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

IExceptionConfigurationReplaceWithProvider Interface

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