adspace
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