ILease.CurrentLeaseTime Property


Gets the amount of time remaining on the lease.

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

abstract CurrentLeaseTime : TimeSpan with get

Property Value

Type: System.TimeSpan

The amount of time remaining on the lease.

Exception Condition

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


for operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure

.NET Framework
Available since 1.1
Return to top