Silverlight 5 | WinRT |
public class ClientSponsor | |
: MarshalByRefObject, ISponsor | |
public TimeSpan RenewalTime { get; set; } | |
public void Close(); | |
protected virtual void Finalize(); | |
public virtual Object InitializeLifetimeService(); | |
public Boolean Register(MarshalByRefObject obj); | |
public virtual TimeSpan Renewal(ILease lease); | |
public void Unregister(MarshalByRefObject obj); |
public abstract interface ILease | |
public abstract virtual TimeSpan CurrentLeaseTime { get; } | |
public abstract virtual LeaseState CurrentState { get; } | |
public abstract virtual TimeSpan InitialLeaseTime { get; set; } | |
public abstract virtual TimeSpan RenewOnCallTime { get; set; } | |
public abstract virtual TimeSpan SponsorshipTimeout { get; set; } | |
public abstract virtual void Register(ISponsor obj); | |
public abstract virtual void Register(ISponsor obj, TimeSpan renewalTime); | |
public abstract virtual TimeSpan Renew(TimeSpan renewalTime); | |
public abstract virtual void Unregister(ISponsor obj); |
public abstract interface ISponsor | |
public abstract virtual TimeSpan Renewal(ILease lease); |
public sealed enum LeaseState | |
: IComparable, IFormattable, IConvertible | |
{ Null, Initial, Active, Renewing, Expired } |
public sealed class LifetimeServices | |
static public TimeSpan LeaseManagerPollTime { get; set; } | |
static public TimeSpan LeaseTime { get; set; } | |
static public TimeSpan RenewOnCallTime { get; set; } | |
static public TimeSpan SponsorshipTimeout { get; set; } |