Επεξεργασία

Κοινή χρήση μέσω


TransactionManager.DefaultTimeout Property

Definition

Gets the default timeout interval for new transactions.

public:
 static property TimeSpan DefaultTimeout { TimeSpan get(); };
public:
 static property TimeSpan DefaultTimeout { TimeSpan get(); void set(TimeSpan value); };
public static TimeSpan DefaultTimeout { get; }
public static TimeSpan DefaultTimeout { get; set; }
static member DefaultTimeout : TimeSpan
static member DefaultTimeout : TimeSpan with get, set
Public Shared ReadOnly Property DefaultTimeout As TimeSpan
Public Shared Property DefaultTimeout As TimeSpan

Property Value

A TimeSpan value that specifies the timeout interval for new transactions.

Remarks

The timeout interval of a transaction is the time within which the transaction must be completed. If the transaction manager has not heard from all transaction participants within the timeout interval, it aborts the transaction.

This value can be set in the DefaultSettingsSection of the config file.

Applies to