Partager via


IExceptionConfigurationForExceptionType.ForExceptionType<T> Method

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 Exception handled under the exception policy.

Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Silverlight (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Silverlight.dll) Version: 5.0.505.0

Syntax

IExceptionConfigurationAddExceptionHandlers ForExceptionType<T>()
where T : Exception
'Declaration
Function ForExceptionType(Of T As Exception) As IExceptionConfigurationAddExceptionHandlers
generic<typename T>
where T : Exception
IExceptionConfigurationAddExceptionHandlers^ ForExceptionType()

Type Parameters

  • T
    The type of Exception handled for this policy.

Return Value

See Also

IExceptionConfigurationForExceptionType Interface

ForExceptionType Overload

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