ExceptionPolicyDefinition Members

Include Protected Members
Include Inherited Members

The ExceptionPolicyDefinition type exposes the following members.

Constructors

  Name Description
Public method ExceptionPolicyDefinition(String, IDictionary<Type, ExceptionPolicyEntry>)
Initializes a new instance of the ExceptionPolicyDefinition class with the policy name and a dictionary of policy entries.
Public method ExceptionPolicyDefinition(String, IEnumerable<ExceptionPolicyEntry>)
Initializes a new instance of the ExceptionPolicyDefinition class with the policy name and a set of policy entries.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetPolicyEntry
Gets the policy entry associated with the specified key.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method HandleException
Checks if there is a policy entry that matches the type of the exception object specified by the Exception parameter, and if so, invokes the handlers associated with that entry.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property PolicyName
Name of this exception policy.

See Also

ExceptionPolicyDefinition Class

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace