Share via


ILease.SponsorshipTimeout 屬性

定義

取得或設定等候贊助者傳回使用期的更新時間所需時間數量。

public:
 property TimeSpan SponsorshipTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan SponsorshipTimeout { get; set; }
public TimeSpan SponsorshipTimeout { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
member this.SponsorshipTimeout : TimeSpan with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
member this.SponsorshipTimeout : TimeSpan with get, set
Public Property SponsorshipTimeout As TimeSpan

屬性值

等候贊助者傳回使用期的更新時間所需時間數量。

屬性

例外狀況

立即呼叫者透過對介面的參考進行呼叫,且沒有基礎結構權限。

備註

SponsorshipTimeout如果 為 TimeSpan.Zero,則此租用將不會接受贊助者。

如果贊助者未回應在逾時期間內更新租用的呼叫,則會假設為無效,並且會從目前租用的贊助者清單中移除。

適用於