TechNet
Export (0) Print
Expand All

ILease.CurrentState Property

 

Gets the current LeaseState of the lease.

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

LeaseState CurrentState {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.Runtime.Remoting.Lifetime.LeaseState

The current LeaseState of the lease.

Exception Condition
SecurityException

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

SecurityPermission

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft