Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NameMatchTransactionAttributeSource.ReturnTransactionAttribute Method

Return the ITransactionAttribute for this method.

[Visual Basic]
Public NotOverridable Sub ReturnTransactionAttribute( _
   ByVal method As MethodInfo, _
   ByVal targetType As Type _
) _
    Implements ITransactionAttributeSource.ReturnTransactionAttribute
[C#]
public 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.

Implements

ITransactionAttributeSource.ReturnTransactionAttribute

See Also

NameMatchTransactionAttributeSource Class | Spring.Transaction.Interceptor Namespace