Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ITransactionAttributeSource.ReturnTransactionAttribute Method

Return the ITransactionAttribute for this method.

[Visual Basic]
Public Sub ReturnTransactionAttribute( _
   ByVal method As MethodInfo, _
   ByVal targetType As Type _
)
[C#]
ITransactionAttribute ReturnTransactionAttribute(
   MethodInfo method,
   Type targetType
);

Parameters

method
The method to check.
targetType
The target Type. May be null, in which case the declaring class of the supplied method must be used.

Return Value

A ITransactionAttribute or null if the method is non-transactional.

See Also

ITransactionAttributeSource Interface | Spring.Transaction.Interceptor Namespace