[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Why can't Dispose(disposing) be overridden?

  • Thread starter Thread starter Lieven De Foor
  • Start date Start date
Status
Not open for further replies.
L

Lieven De Foor

Guest
Apparently this is documented (thank you Rob from tech support): You cannot override a .NET method defined as any of the following: static sealed (FINAL) DestroyHandle( ) method Dispose( ) method Finalize( ) method GetHashCode( ) method The listed methods are all defined as overrideable in .NET. However, ABL defines these methods as FINAL for an ABL session. Question still is: why? I want to extend the Dispose() method of my own derived control so I can clear extra allocated resources when the Dispose gets called by the .NET framework. Apparently this is not possible...

Continue reading...
 
Status
Not open for further replies.
Back
Top