ILease.SponsorshipTimeout Property

Definition

Gets or sets the amount of time to wait for a sponsor to return with a lease renewal time.

C#
public TimeSpan SponsorshipTimeout { get; set; }
C#
public TimeSpan SponsorshipTimeout { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }

Property Value

The amount of time to wait for a sponsor to return with a lease renewal time.

Attributes

Exceptions

The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.

Remarks

If the SponsorshipTimeout is TimeSpan.Zero, then this lease will not take sponsors.

If a sponsor does not respond to a call to renew a lease within the time-out period, it is assumed to be dead and is removed from the list of sponsors for the current lease.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1