Allows an EventWaitHandle to attempt to free resources and perform other cleanup operations before the EventWaitHandle is reclaimed by garbage collection.
| C# | Visual Basic |
protected override void Finalize()
Protected Overrides Sub Finalize