Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ResourceHolderSupport.TimeToLiveInSeconds Property

Return the time to live for this object in seconds.

[Visual Basic]
Public ReadOnly Property TimeToLiveInSeconds() As Integer
   Public Get
   End Get
End Property
[C#]
public int TimeToLiveInSeconds { public get; }

Remarks

Rounds up eagerly, e.g. '9.00001' to '10'.

Exceptions

Exception Type Condition
ArgumentException If no deadline has been set.

See Also

ResourceHolderSupport Class | Spring.Transaction.Support Namespace