NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ILease Interface

Distributed Garbage Collection (DGC) controls when server applications can be deleted. Traditionally DGC uses reference counts and pinging for control. This works well when there are a few clients per service, but doesn't scale well when there are thousands of clients per service. A Leasing Distributed Garbage Collector (LDGC) associates a lease time with each service. The service is deleted when the lease's time expires. The LDGC can subsume the function of a traditional DGC, in addition it scales well when the numbers of clients increase per server.

ILease

[Visual Basic]
Public Interface ILease
[C#]
public interface ILease
[C++]
public __gc __interface ILease

[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.

Classes that Implement ILease

Class Description
Lease  

Remarks

[To be supplied.]

Requirements

Namespace: System.Runtime.Remoting

Assembly: mscorlib.dll

See Also

ILease Members | System.Runtime.Remoting Namespace