Controls the.NET remoting lifetime services.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|LeaseManagerPollTime||Gets or sets the time interval between each activation of the lease manager to clean up expired leases.|
|LeaseTime||Gets or sets the initial lease time span for an AppDomain.|
|RenewOnCallTime||Gets or sets the amount of time by which the lease is extended every time a call comes in on the server object.|
|SponsorshipTimeout||Gets or sets the amount of time the lease manager waits for a sponsor to return with a lease renewal time.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
Distributed garbage collection is responsible for controlling the lifetimes of server applications, and for deleting them when their lifetimes have expired. Traditionally, distributed garbage collection uses reference counts and pinging for control. This works well when there are a few clients per object, but does not work well when there are thousands of clients per each object. The lifetime service can assume the function of a traditional distributed garbage collector, and scales well when the number of clients increases.
The lifetime service associates a lease with each remotely activated object. When the lease expires, the object is removed.
This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See Link Demands for more information.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.