Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
AnswerRe: Thread end Pin
N a v a n e e t h15-Apr-09 19:04
N a v a n e e t h15-Apr-09 19:04 
AnswerRe: Thread end Pin
Vikram A Punathambekar15-Apr-09 19:08
Vikram A Punathambekar15-Apr-09 19:08 
AnswerRe: Thread end Pin
Fayu16-Apr-09 2:38
Fayu16-Apr-09 2:38 
QuestionSet User for SQL Server and Windows App Pin
BhavinBhatt15-Apr-09 18:40
BhavinBhatt15-Apr-09 18:40 
AnswerRe: Set User for SQL Server and Windows App Pin
Henry Minute15-Apr-09 23:51
Henry Minute15-Apr-09 23:51 
QuestionADO.NET nested transaction [modified] Pin
devvvy15-Apr-09 18:31
devvvy15-Apr-09 18:31 
QuestionAbout wireless data transfer Pin
Xmen Real 15-Apr-09 18:25
professional Xmen Real 15-Apr-09 18:25 
QuestionDirectory Stream Pin
biggy115-Apr-09 13:31
biggy115-Apr-09 13:31 
AnswerRe: Directory Stream Pin
harold aptroot15-Apr-09 13:37
harold aptroot15-Apr-09 13:37 
GeneralRe: Directory Stream Pin
biggy115-Apr-09 13:51
biggy115-Apr-09 13:51 
GeneralRe: Directory Stream Pin
harold aptroot15-Apr-09 14:01
harold aptroot15-Apr-09 14:01 
GeneralRe: Directory Stream Pin
biggy115-Apr-09 14:12
biggy115-Apr-09 14:12 
GeneralRe: Directory Stream Pin
harold aptroot15-Apr-09 14:43
harold aptroot15-Apr-09 14:43 
GeneralRe: Directory Stream [modified] Pin
biggy115-Apr-09 15:00
biggy115-Apr-09 15:00 
GeneralRe: Directory Stream Pin
harold aptroot16-Apr-09 1:36
harold aptroot16-Apr-09 1:36 
GeneralRe: Directory Stream Pin
biggy116-Apr-09 10:21
biggy116-Apr-09 10:21 
AnswerRe: Directory Stream Pin
Xmen Real 15-Apr-09 18:39
professional Xmen Real 15-Apr-09 18:39 
QuestionWatching for Removeable Drives Pin
Jammer15-Apr-09 12:20
Jammer15-Apr-09 12:20 
AnswerRe: Watching for Removeable Drives Pin
Luc Pattyn15-Apr-09 12:42
sitebuilderLuc Pattyn15-Apr-09 12:42 
AnswerRe: Watching for Removeable Drives Pin
Nilesh Hapse15-Apr-09 20:16
Nilesh Hapse15-Apr-09 20:16 
QuestionSocket Connection Shutdown and Close Pin
kikeman15-Apr-09 11:41
kikeman15-Apr-09 11:41 
AnswerRe: Socket Connection Shutdown and Close Pin
Colin Angus Mackay15-Apr-09 12:12
Colin Angus Mackay15-Apr-09 12:12 
You should implement the IDisposable interface and call Dispose from the Finalizer. The code you currently have in the Finalizer should be moved to the Dispose method.

The Dispose method should detect if it is already disposed and not do so again. I suspect that the exception you got was because the Sender was already disposed, but you still had a reference to it.


GeneralRe: Socket Connection Shutdown and Close Pin
kikeman16-Apr-09 4:45
kikeman16-Apr-09 4:45 
GeneralRe: Socket Connection Shutdown and Close Pin
Colin Angus Mackay16-Apr-09 5:05
Colin Angus Mackay16-Apr-09 5:05 
GeneralRe: Socket Connection Shutdown and Close Pin
kikeman16-Apr-09 5:39
kikeman16-Apr-09 5:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.