RollbackRuleAttribute.GetDepth(Object) Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RollbackRuleAttribute.GetDepth(Object) Method

Return the depth to the matching superclass execption Type.

[Visual Basic]
Public Overloads Sub GetDepth( _
   ByVal exception As Object _
public int GetDepth(
   object exception


The exception object to find.

Return Value

Return -1 if there's no match. Otherwise, return depth. Lowest depth wins.


A return value of 0 means that the exceptions Type matches.

See Also

RollbackRuleAttribute Class | Spring.Transaction.Interceptor Namespace | RollbackRuleAttribute.GetDepth Overload List