Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DelegatingTransactionAttributeWithName.TransactionTimeout Property

Return the transaction timeout.

[Visual Basic]
Public NotOverridable ReadOnly Property TransactionTimeout() As Integer _
    Implements ITransactionDefinition.TransactionTimeout

   Public Get
   End Get
End Property
[C#]
public int TransactionTimeout { public get; }

Property Value

Implements

ITransactionDefinition.TransactionTimeout

Remarks

Must return a number of seconds, or -1. Only makes sense in combination with Required and RequiresNew. Note that a transaction manager that does not support timeouts will throw an exception when given any other timeout than -1.

See Also

DelegatingTransactionAttributeWithName Class | Spring.Transaction.Interceptor Namespace