CommittableTransaction Constructor (TimeSpan)

 

Initializes a new instance of the CommittableTransaction class with the specified timeout value.

Namespace:   System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

Public Sub New (
	timeout As TimeSpan
)

Parameters

timeout
Type: System.TimeSpan

The maximum amount of time the transaction can exist, before it is aborted.

Exception Condition
PlatformNotSupportedException

An attempt to create a transaction under Windows 98, Windows 98 Second Edition or Windows Millennium Edition.

.NET Framework
Available since 2.0
Return to top
Show: