ExceptionPolicyDefinition Members
Include Protected Members
Include Inherited Members
The ExceptionPolicyDefinition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExceptionPolicyDefinition(String, IDictionary<Type, ExceptionPolicyEntry>) |
Initializes a new instance of the ExceptionPolicyDefinition class with the policy name and a dictionary of policy entries.
|
|
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetPolicyEntry |
Gets the policy entry associated with the specified key.
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
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.
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ToString |
Returns a string that represents the current object.
(Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
PolicyName |
Name of this exception policy.
|
See Also
ExceptionPolicyDefinition Class
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace