Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractFallbackTransactionAttributeSource.ReturnTransactionAttribute Method

Return the transaction attribute for this method invocation.

[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
method for the current invocation. Can't be null
targetType
target class for this invocation. May be null.

Return Value

ITransactionAttribute for this method, or null if the method is non-transactional

Implements

ITransactionAttributeSource.ReturnTransactionAttribute

Remarks

Defaults to the class's transaction attribute if no method attribute is found

See Also

AbstractFallbackTransactionAttributeSource Class | Spring.Transaction.Interceptor Namespace