Export (0) Print
Expand All

ILease.CurrentLeaseTime Property

Gets the amount of time remaining on the lease.

Namespace:  System.Runtime.Remoting.Lifetime
Assembly:  mscorlib (in mscorlib.dll)

TimeSpan CurrentLeaseTime { get; }

Property Value

Type: System.TimeSpan
The amount of time remaining on the lease.

ExceptionCondition
SecurityException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft