C# Class System.Runtime.Remoting.Lifetime.Lease

Inheritance: System.MarshalByRefObject, ILease
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
InitializeLifetimeService ( ) : Object

Private Methods

Method Description
ActivateLease ( ) : void
AddTime ( System.TimeSpan renewalSpan ) : void
Cancel ( ) : void
GetSponsorFromId ( Object sponsorId ) : ISponsor
GetSponsorId ( ISponsor obj ) : Object
Lease ( System.TimeSpan initialLeaseTime, System.TimeSpan renewOnCallTime, System.TimeSpan sponsorshipTimeout, MarshalByRefObject managedObject ) : System
LeaseExpired ( System.DateTime now ) : void
ProcessNextSponsor ( ) : void
Register ( ISponsor obj ) : void
Register ( ISponsor obj, System.TimeSpan renewalTime ) : void
Remove ( ) : void
Renew ( System.TimeSpan renewalTime ) : System.TimeSpan
RenewInternal ( System.TimeSpan renewalTime ) : System.TimeSpan
RenewOnCall ( ) : void
SponsorCall ( ISponsor sponsor ) : void
SponsorCallback ( IAsyncResult iar ) : void
SponsorCallback ( Object obj ) : void
SponsorTimeout ( Object sponsorId ) : void
Unregister ( ISponsor sponsor ) : void

Method Details

InitializeLifetimeService() public method

public InitializeLifetimeService ( ) : Object
return Object