ILease.SponsorshipTimeout Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The amount of time to wait for a sponsor to return with a lease renewal time.
- Attributes
The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.
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.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: