Go Back   CP Web Hosting - reseller hosting > Server Scripting > .NET
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-14-2007, 01:03 PM
1R1 1R1 is offline
Senior Member
 
Join Date: Mar 2007
Posts: 164
Default Why do we need to call CG.SupressFinalize?

Why do we need to call CG.SupressFinalize?
Reply With Quote
  #2 (permalink)  
Old 07-14-2007, 01:04 PM
Senior Member
 
Join Date: May 2007
Posts: 151
Default ReL:Why do we need to call CG.SupressFinalize

Hi , Requests that the system not call the finalizer method for the specified object.
Reply With Quote
  #3 (permalink)  
Old 07-14-2007, 01:05 PM
Senior Member
 
Join Date: May 2007
Posts: 151
Default contd......

public static void SuppressFinalize(
object obj
); The method removes obj from the set of objects that require finalization. The obj parameter is required to be the caller of this method.
Objects that implement the IDisposable interface can call this method from the IDisposable.Dispose method to prevent the garbage collector from calling Object.Finalize on an object that does not require it
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0