adspace


How do you define the lease of the object in .net?

Answer Posted / Harikrishan Prajapati

To define the lease of an object in .NET, you can use the System.Runtime.Leases namespace. LeaseTime, RenewOnCallTime, and CancellationPending properties are used to configure the lease settings for a specific object instance. These settings determine how long the object will be kept alive before being garbage collected.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1143