Udostępnij za pośrednictwem


ExceptionHandlerSetting.ExceptionType Property

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.

Gets the type of the exception to which the handler is registered.

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

Syntax

'Declaration
PublicPropertyExceptionTypeAs String
public string ExceptionType { get; internalset; }
public:
property String^ ExceptionType {
    String^ get ();
    voidset (String^ value);
}
publicfunction getExceptionType () : String
publicfunction setExceptionType (value : String)

Remarks

This property is used toghether with Policy to relate the objects representing exception policies, exception types and exception handlers.

See Also

ExceptionHandlerSetting Class

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

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.