No announcements
Found 915533 threads
-
0 Votes
Disposing of Objects
Objects retrieved from SPContext do not need to be disposed.Answered | 1 Replies | 978 Views | Created by Pavan Kumar Paruchuru - Wednesday, December 4, 2013 4:40 PM | Last reply by thriggle - Wednesday, December 4, 2013 5:19 PM -
2 Votes
Disposing Objects
The 'using' block should automatically dispose for you.Answered | 3 Replies | 5933 Views | Created by Mina Samy - Tuesday, March 2, 2010 3:17 PM | Last reply by Mina Samy - Tuesday, March 2, 2010 3:39 PM -
0 Votes
Disposing of objects
Hi Bakre, There is not really a difference here; the GC will in both cases just dispose of the DatabaseManager.Answered | 1 Replies | 4682 Views | Created by bakre - Wednesday, November 17, 2010 4:16 PM | Last reply by Tom de Koning - Wednesday, November 17, 2010 7:57 PM -
3 Votes
Dispose of Application Settings Object
The dispose method from compenents is only meant to release unmanaged resources like pens and win32 objects.Answered | 5 Replies | 2779 Views | Created by jonlee107 - Monday, December 28, 2009 3:09 PM | Last reply by jonlee107 - Wednesday, December 30, 2009 1:45 PM -
1 Votes
Disposing SPSite Object
You don't need to worry about disposing object here as you have used using block.Answered | 5 Replies | 4805 Views | Created by RK Naik - Wednesday, May 20, 2009 7:41 PM | Last reply by Sanjay Patel from Neudesic LLC - Thursday, May 21, 2009 5:00 PM -
2 Votes
Disposing object collected in List (Of Object)
This thread has me thinking, how could you check to see if an object has a Dispose method please ?Answered | 7 Replies | 15250 Views | Created by jc1712 - Thursday, July 29, 2010 9:38 AM | Last reply by Cor Ligthert - Saturday, July 31, 2010 7:22 AM -
0 Votes
Disposing COM objects.
As opposed to the opinion of Reed Copsey, I personally don't liked the idea that the CG will eventually clean up my COM objects.Answered | 2 Replies | 9760 Views | Created by kicaj - Tuesday, January 25, 2011 7:15 PM | Last reply by ib.d - Wednesday, January 26, 2011 6:28 AM -
0 Votes
Disposing object in sharepoint
You need to dispose the web object first and then dispose site object.Answered | 2 Replies | 5102 Views | Created by ok76 - Sunday, November 9, 2008 5:42 AM | Last reply by ok76 - Sunday, November 9, 2008 6:58 AM -
1 Votes
Object disposed but still in memory
You can implement an event (Disposing or your custom event Disposing) to notify all clients that they must annihilate (set nothing) their reference.Answered | 6 Replies | 3919 Views | Created by raju40 - Sunday, February 7, 2010 3:13 PM | Last reply by DiegoCattaruzza - Monday, February 8, 2010 1:05 PM -
4 Votes
Objects: Dispose or Reuse?
Do I need to dispose it every time?Answered | 7 Replies | 6434 Views | Created by Arvin Granados - Friday, January 25, 2013 8:21 AM | Last reply by Chris Dunaway - Friday, January 25, 2013 5:16 PM -
0 Votes
Making an Object Disposable (Syntax)
Well - as it says, you don't need to worry about disposing of most of their objects any more.Answered | 10 Replies | 1257 Views | Created by Syed_Sajid - Wednesday, March 30, 2016 4:07 PM | Last reply by Christopher84 - Thursday, March 31, 2016 3:49 PM -
1 Votes
Disposing objects in a timer job
Yep, per link above and documentation here, looks like using an indexer to get an SPSite or SPWeb, always returns a new object (not a reference), that must ...Answered | 6 Replies | 2924 Views | Created by preambleMe - Wednesday, January 23, 2013 8:35 AM | Last reply by preambleMe - Wednesday, January 23, 2013 11:57 PM -
0 Votes
Dispose datarow object
This interface is designed to assist in having both managed and unmanaged resources "cleaned up" before the object is deallocated.Answered | 1 Replies | 3953 Views | Created by stylish16 - Tuesday, March 6, 2012 2:44 AM | Last reply by Dig-Boy - Tuesday, March 6, 2012 3:19 AM -
1 Votes
Dispose Multiple Objects
MemoryStream doesn't use any native resources, so calling "Dispose" actually doesn't really do anything (in that specific class).Answered | 4 Replies | 1405 Views | Created by MDMoura - Tuesday, March 26, 2013 6:47 PM | Last reply by MDMoura - Tuesday, March 26, 2013 7:20 PM -
0 Votes
Dispose Form Object
In other words, after you have disposed your managed resources (it's considered a best practice to always call the Dispose method ...Answered | 5 Replies | 1055 Views | Created by RamyaRam - Thursday, January 2, 2014 10:18 AM | Last reply by Cor Ligthert - Thursday, January 2, 2014 3:14 PM -
0 Votes
Disposing object in c#
Hi, You could implement the interface IDisposable like that: public partial class MainWindow : Window { List<C1> c1s = new ...Answered | 1 Replies | 861 Views | Created by Veeresh Angadi - Wednesday, March 9, 2016 7:07 AM | Last reply by cedric pautet - Wednesday, March 9, 2016 7:48 AM -
2 Votes
Open Disposed Objects
You can not open it again because Dispose has been called.Answered | 4 Replies | 2753 Views | Created by Metroidn1f - Wednesday, October 5, 2011 12:51 AM | Last reply by Metroidn1f - Friday, October 7, 2011 12:23 AM -
2 Votes
Sharepoint Object disposal
As using statement will dispose the objects with it closed.Answered | 5 Replies | 3032 Views | Created by RK Senthil - Sunday, November 4, 2012 3:13 AM | Last reply by varun.atluri - Wednesday, November 7, 2012 8:13 PM -
1 Votes
Question regarding an Objects Dispose method...
You should try using the Using statement for your objects which would automatically call the objects Dispose method when the object is no longer needed.Answered | 4 Replies | 2580 Views | Created by Steven_Schultz - Tuesday, February 16, 2010 3:59 PM | Last reply by LandsharkDaddy - Tuesday, February 16, 2010 5:47 PM -
1 Votes
Disposing SPSite object in EmailReceived event
Do not dispose SPSite object when you get it from Current Context.Answered | 1 Replies | 1068 Views | Created by mctl87 - Friday, March 14, 2014 12:10 PM | Last reply by amin, adnan - Friday, March 14, 2014 1:21 PM - Items 1 to 20 of 915533 Next ›
No announcements