Editare

Partajați prin


ILease.SponsorshipTimeout Property

Definition

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

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

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