KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
idisposable
46 questions
Follow Tag
Sort by:
Newest
Votes
Active
8
votes
6
answers
Does the using statement dispose only the first variable it create?
c#
idisposable
using
asked 2013-06-26T10:10:11.777
52
votes
2
answers
What does Process.Dispose() actually do?
c#
.net
idisposable
asked 2013-06-06T08:34:45.473
15
votes
4
answers
IDisposable created within a method and returned
c#
design-patterns
static-analysis
idisposable
asked 2013-01-24T00:39:46.110
30
votes
3
answers
Determining if IDisposable should extend an interface or be implemented on a class implementing said interface
c#
dispose
idisposable
asked 2013-01-16T22:00:27.817
13
votes
2
answers
Correct way to close WCF 4 channels effectively
c#
wcf
idisposable
wcf-4
asked 2012-01-30T09:45:17.393
10
votes
6
answers
Hierarchy of classes that use a disposable object. Implement IDisposable on all of them?
c#
idisposable
asked 2011-11-18T15:47:14.250
31
votes
6
answers
What is the correct way to dispose elements held inside a ThreadLocal<IDisposable>?
c#
.net-4.0
idisposable
thread-local
asked 2011-10-06T02:04:42.140
13
votes
4
answers
Disabling/Fixing Code Analysis warnings from .Designer.cs files
c#
code-analysis
idisposable
mschart
ca2000
asked 2011-08-08T18:39:34.233
69
votes
4
answers
Is IDisposable.Dispose() called automatically?
c#
.net
idisposable
asked 2011-08-06T13:29:21.017
12
votes
7
answers
Will ignoring IDisposable cause memory leaks?
c#
.net
idisposable
asked 2011-07-28T20:35:53.583
10
votes
1
answers
.Net WMI classes - which ones do I have to dispose?
c#
linq
wmi
idisposable
asked 2011-07-10T05:43:13.540
54
votes
3
answers
Stream as a return value in WCF - who disposes it?
.net
wcf
stream
idisposable
asked 2011-06-26T10:08:26.953
10
votes
5
answers
When is it reasonable to check if this object has been disposed and throw ObjectDisposedException?
c#
dispose
idisposable
objectdisposedexception
asked 2011-05-27T09:38:06.907
62
votes
4
answers
Should IDisposable.Dispose() be made safe to call multiple times?
c#
.net
idisposable
asked 2011-03-15T02:26:55.043
10
votes
7
answers
C# Using IDisposable to clean up temp files
c#
interface
idisposable
asked 2010-11-05T11:19:26.430
10
votes
6
answers
Why disposing StreamReader makes a stream unreadable?
c#
stream
idisposable
streamreader
asked 2010-10-10T18:11:46.650
39
votes
9
answers
Why should Dispose() be non-virtual?
c#
.net
dispose
idisposable
asked 2010-09-01T15:04:31.143
9
votes
2
answers
When should I be using IDisposable, is it ever wrong to use it? What about Dispose Chaining?
.net
garbage-collection
idisposable
asked 2010-07-31T22:32:27.740
41
votes
8
answers
Determine if executing in finally block due to exception being thrown
c#
exception
idisposable
finally
try-catch
asked 2010-07-21T16:21:30.190
128
votes
5
answers
What happens if i return before the end of using statement? Will the dispose be called?
c#
.net
dispose
idisposable
using-statement
asked 2010-07-14T15:15:28.697
21
votes
8
answers
Should Dispose() or Finalize() be used to delete temporary files?
c#
.net
idisposable
temporary-files
asked 2010-07-13T19:59:04.427
9
votes
4
answers
How do you close an application when some WaitHandle is in the middle of a call to WaitOne?
c#
multithreading
idisposable
shutdown
waithandle
asked 2010-06-21T19:11:14.570
29
votes
2
answers
How do I dispose my filestream when implementing a file download in ASP.NET?
c#
asp.net
asp.net-mvc
streaming
idisposable
asked 2010-06-21T11:53:44.320
12
votes
11
answers
Why is 'using' improving C# performances
c#
dispose
using
idisposable
asked 2010-06-17T14:32:58.740
16
votes
1
answers
IEnumerator: Is it normal to have an empty Dispose method?
.net
idisposable
ienumerator
asked 2010-06-17T12:35:53.167
45
votes
7
answers
Dispose, when is it called?
c#
.net
garbage-collection
dispose
idisposable
asked 2010-05-20T07:53:28.440
9
votes
12
answers
Should I call Dispose() within a function after Return?
c#
.net
vb.net
dispose
idisposable
asked 2010-05-14T09:19:03.853
13
votes
7
answers
return the variable used for using inside the using C#
c#
dispose
idisposable
using
using-statement
asked 2010-05-12T20:53:07.597
29
votes
11
answers
Do I need to call Dispose() on managed objects?
.net
idisposable
asked 2010-03-30T20:57:07.047
215
votes
6
answers
Will Dispose() be called in a using statement with a null object?
c#
idisposable
using
asked 2010-03-26T11:22:44.263
46
votes
6
answers
When should I implement IDisposable?
c#
.net
vb.net
idisposable
asked 2010-03-12T09:04:46.207
11
votes
3
answers
Flyweight and Factory problem with IDisposable
c#
idisposable
factory-pattern
flyweight-pattern
asked 2010-02-25T17:34:24.197
15
votes
2
answers
How can TcpClient implement IDisposable and not have a public Dispose method?
.net
idisposable
tcpclient
asked 2010-02-24T11:27:17.817
19
votes
8
answers
How to unit test a method with a `using` statement?
c#
unit-testing
idisposable
legacy-code
asked 2009-12-23T16:03:15.857
10
votes
3
answers
Why doesn't Thread implement IDisposable?
c#
multithreading
idisposable
finalizer
asked 2009-11-11T17:45:55.860
15
votes
3
answers
Can Visual Studio warn me when I forget to dispose an IDisposable object?
visual-studio-2008
idisposable
compiler-warnings
asked 2009-07-06T19:04:59.663
42
votes
7
answers
How do you reconcile IDisposable and IoC?
c#
inversion-of-control
unity-container
idisposable
asked 2009-06-12T16:48:43.710
16
votes
7
answers
How to dispose objects having asynchronous methods called?
c#
.net
asynchronous
dispose
idisposable
asked 2009-06-10T11:09:05.400
29
votes
1
answers
C# Linq-to-Sql - Should DataContext be disposed using IDisposable
linq-to-sql
datacontext
idisposable
asked 2009-05-04T19:27:26.100
13
votes
9
answers
Expected behavior of `using` statement on type not implementing `IDispoable`?
c#
idisposable
asked 2009-04-01T21:28:48.363
33
votes
10
answers
Who Disposes of an IDisposable public property?
c#
.net
dispose
idisposable
asked 2009-03-23T19:26:12.473
11
votes
5
answers
IDisposable GC.SuppressFinalize(this) location
c#
.net
idisposable
suppressfinalize
asked 2009-03-03T07:49:40.117
14
votes
4
answers
Identify IDisposable objects
c#
memory-leaks
dispose
idisposable
using-statement
asked 2009-02-26T15:24:14.810
58
votes
8
answers
Should you implement IDisposable.Dispose() so that it never throws?
c#
.net
idisposable
asked 2009-02-23T13:24:38.130
62
votes
9
answers
Using IDisposable to unsubscribe events
.net
events
idisposable
unsubscribe
asked 2009-01-16T22:26:22.763
20
votes
1
answers
How do you dispose of an IDisposable in Managed C++?
.net
idisposable
managed-c++
asked 2008-12-08T16:21:23.670