TransactionOptions.Timeout TransactionOptions.Timeout TransactionOptions.Timeout TransactionOptions.Timeout Property

定義

取得或設定交易的逾時期限。Gets or sets the timeout period for the transaction.

public:
 property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan Timeout { get; set; }
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan

屬性值

TimeSpan 值,會指定交易的逾時期限。A TimeSpan value that specifies the timeout period for the transaction.

備註

此屬性包含範圍在中止交易之前,可以存在的最大時間量。This property contains the maximum amount of time that the scope can be in existence, before it aborts the transaction.

適用於