語言

TransactionOptions.Timeout 屬性

定義

取得或設定交易的逾時期。

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 指定交易逾時期間的值。

備註

此性質包含範圍存在的最長時間,該時間會被終止交易。

適用於