SqlPersistenceProviderFactory.LockTimeout 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
由此實例建立的持久化提供者實例所使用的鎖擁有權逾時。 鎖定的副本在此期間後會自動解鎖。
public:
property TimeSpan LockTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan LockTimeout { get; set; }
member this.LockTimeout : TimeSpan with get, set
Public Property LockTimeout As TimeSpan
屬性值
鎖所有權的超時值。
備註
逾時表示 TimeSpan.Zero 不使用鎖定。