Udostępnij za pośrednictwem


ExceptionHandlerSetting Class

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.

Represents the configuration information for an instance of a concrete subclass of ExceptionHandlerData.

Namespace:  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability
Assembly:  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll)

Syntax

'Declaration
<InstrumentationClassAttribute(InstrumentationType.Abstract)> _
PublicClassExceptionHandlerSetting _
    Inherits NamedConfigurationSetting
[InstrumentationClassAttribute(InstrumentationType.Abstract)]
publicclassExceptionHandlerSetting : NamedConfigurationSetting
[InstrumentationClassAttribute(InstrumentationType::Abstract)]
publicref classExceptionHandlerSetting : public NamedConfigurationSetting
publicclass ExceptionHandlerSetting extends NamedConfigurationSetting

Remarks

There way to relate the objects representing an ExceptionTypeData instance and the ExceptionHandlerData instances in its ExceptionHandlers collection is through the ExceptionType and Policy properties. Also, the order of the handlers in the Handlers collection is represented with the Order property as the order of the handlers is relevant to the exception handling process.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.ConfigurationSetting
    Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.NamedConfigurationSetting
      Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.ExceptionHandlerSetting
        Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.CustomHandlerSetting
        Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.ReplaceHandlerSetting
        Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.WrapHandlerSetting
        Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.Configuration.Manageability.LoggingExceptionHandlerSetting
        Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF.Configuration.Manageability.FaultContractExceptionHandlerSetting

See Also

ExceptionHandlerSetting Members

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability Namespace

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.ExceptionTypeSetting

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.ExceptionPolicySetting

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.WrapHandlerSetting

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.ReplaceHandlerSetting

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.Manageability.CustomHandlerSetting

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.