﻿<?xml version="1.0" encoding="utf-8"?><Type Name="LifetimeServices" FullName="System.Runtime.Remoting.Lifetime.LifetimeServices"><TypeSignature Maintainer="auto" Language="C#" Value="public sealed class LifetimeServices" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed LifetimeServices extends System.Object" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>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.</para><para>The lifetime service associates a lease with each remotely activated object. When the lease expires, the object is removed.</para><block subset="none" type="note"><para>This class makes a link demand. A SecurityException is thrown if the immediate caller does not have infrastructure permission. See <format type="text/html"><a href="A33FD5F9-2DE9-4653-A4F0-D9DF25082C4D">[&lt;topic://cpconLinkDemands&gt;]</a></format> for more information.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Controls the.NET remoting lifetime services.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public LifetimeServices ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.Obsolete("Call the static methods directly on this type instead", true)</AttributeName></Attribute></Attributes><ReturnValue /><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates an instance of <see cref="T:System.Runtime.Remoting.Lifetime.LifetimeServices" />.</para></summary></Docs></Member><Member MemberName="LeaseManagerPollTime"><MemberSignature Language="C#" Value="public static TimeSpan LeaseManagerPollTime { get; set; }" /><MemberSignature Language="ILAsm" Value=".property valuetype System.TimeSpan LeaseManagerPollTime" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.TimeSpan</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The current property defines the frequency at which the lease manager becomes active to clean up expired leases. For example, if <see cref="P:System.Runtime.Remoting.Lifetime.LifetimeServices.LeaseManagerPollTime" /> is set to 100 seconds, the lease list is inspected for cleanups and renewals every 100 seconds.</para><para>The default value of the <see cref="P:System.Runtime.Remoting.Lifetime.LifetimeServices.LeaseManagerPollTime" /> property is 10 seconds.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the time interval between each activation of the lease manager to clean up expired leases.</para></summary></Docs></Member><Member MemberName="LeaseTime"><MemberSignature Language="C#" Value="public static TimeSpan LeaseTime { get; set; }" /><MemberSignature Language="ILAsm" Value=".property valuetype System.TimeSpan LeaseTime" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.TimeSpan</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default lease time span is 5 minutes.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the initial lease time span for an <see cref="T:System.AppDomain" />.</para></summary></Docs></Member><Member MemberName="RenewOnCallTime"><MemberSignature Language="C#" Value="public static TimeSpan RenewOnCallTime { get; set; }" /><MemberSignature Language="ILAsm" Value=".property valuetype System.TimeSpan RenewOnCallTime" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.TimeSpan</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default renewal time by which a lifetime lease is extended is 2 minutes.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the amount of time by which the lease is extended every time a call comes in on the server object.</para></summary></Docs></Member><Member MemberName="SponsorshipTimeout"><MemberSignature Language="C#" Value="public static TimeSpan SponsorshipTimeout { get; set; }" /><MemberSignature Language="ILAsm" Value=".property valuetype System.TimeSpan SponsorshipTimeout" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.TimeSpan</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default time until a call to a sponsor is timed out is 2 minutes.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the amount of time the lease manager waits for a sponsor to return with a lease renewal time.</para></summary></Docs></Member></Members></Type>