Re: IDisposable or not in custom classes
- From: "Mark Rae" <mark@xxxxxxxxxxxxxxxxx>
- Date: Wed, 13 Dec 2006 19:11:18 -0000
"Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:%23T6DsguHHHA.4712@xxxxxxxxxxxxxxxxxxxxxxx
Nicholas,
Can you show the thread that you are referring to?
Its subject is "HttpWebRequest and IDisposable" and it was started by me in
this group on 10th December.
I don't know if it was pointed out, but there is no reason to implement
IDisposable on the request since the request doesn't do anything until it
is sent.
It's actually not possible to implement it because it's not disposable, much
to everyone's surprise...
And yes, it is overkill to implement it on all the classes.
Indeed.
There are very specific guidelines in place for when to implement
IDisposable.
Are there? Are they available for download anywhere...?
Mark
.
- Follow-Ups:
- Re: IDisposable or not in custom classes
- From: Dave Sexton
- Re: IDisposable or not in custom classes
- References:
- IDisposable or not in custom classes
- From: Mark Rae
- Re: IDisposable or not in custom classes
- From: Nicholas Paldino [.NET/C# MVP]
- IDisposable or not in custom classes
- Prev by Date: Re: IDisposable or not in custom classes
- Next by Date: Re: SocketException: Too many open files - can't understand why though?
- Previous by thread: Re: IDisposable or not in custom classes
- Next by thread: Re: IDisposable or not in custom classes
- Index(es):
Relevant Pages
|