Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultTransactionDefinition.TransactionTimeout Property

Return the transaction timeout.

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

   Public Get
   End Get
   Public Set
   End Set
End Property
public int TransactionTimeout { public get; public set; }




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

DefaultTransactionDefinition Class | Spring.Transaction.Support Namespace