Click here to Skip to main content
15,893,508 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: GDI+ causes server to hang Pin
Guffa28-May-07 15:35
Guffa28-May-07 15:35 
GeneralRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 15:47
Ben[dog]28-May-07 15:47 
AnswerRe: GDI+ causes server to hang Pin
Guffa28-May-07 19:21
Guffa28-May-07 19:21 
GeneralRe: GDI+ causes server to hang Pin
Christian Graus28-May-07 15:40
protectorChristian Graus28-May-07 15:40 
GeneralRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 15:55
Ben[dog]28-May-07 15:55 
GeneralRe: GDI+ causes server to hang Pin
Christian Graus28-May-07 16:31
protectorChristian Graus28-May-07 16:31 
GeneralRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 16:46
Ben[dog]28-May-07 16:46 
AnswerRe: GDI+ causes server to hang Pin
Guffa28-May-07 19:11
Guffa28-May-07 19:11 
Ben[dog] wrote:
But if the individual Dispose() are explicitely called, that shouldn't really make a difference, should it?


Yes, there is a difference.

The using statement makes a copy of the reference and creates a try...finally block, which ensures that the Dispose method is called no matter what happens in the code.

If you just call Dispose, it will depend on two things: that the code is not interrupted before that and that the reference is still valid at that point.

---
single minded; short sighted; long gone;

GeneralRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 19:20
Ben[dog]28-May-07 19:20 
AnswerRe: GDI+ causes server to hang Pin
Ben[dog]28-May-07 18:32
Ben[dog]28-May-07 18:32 
QuestionWhy doesn't this work? Pin
Ranger4928-May-07 13:37
Ranger4928-May-07 13:37 
AnswerRe: Why doesn't this work? Pin
Not Active28-May-07 13:46
mentorNot Active28-May-07 13:46 
AnswerRe: Why doesn't this work? Pin
Christian Graus28-May-07 13:50
protectorChristian Graus28-May-07 13:50 
QuestionRe: Why doesn't this work? Pin
Ranger4928-May-07 16:18
Ranger4928-May-07 16:18 
AnswerRe: Why doesn't this work? Pin
Christian Graus28-May-07 16:33
protectorChristian Graus28-May-07 16:33 
GeneralRe: Why doesn't this work? Pin
Ranger4928-May-07 16:45
Ranger4928-May-07 16:45 
QuestionRe: Why doesn't this work? Pin
Ranger4928-May-07 19:52
Ranger4928-May-07 19:52 
Questionhelp me with sending email Pin
sanaziuse28-May-07 11:41
sanaziuse28-May-07 11:41 
AnswerRe: help me with sending email Pin
Christian Graus28-May-07 11:51
protectorChristian Graus28-May-07 11:51 
AnswerRe: help me with sending email Pin
Abolfazl Sheikhloo28-May-07 18:56
Abolfazl Sheikhloo28-May-07 18:56 
QuestionAccess Cookie Pin
Ritesh123428-May-07 10:55
Ritesh123428-May-07 10:55 
QuestionTwo cookie paths ... Pin
devboycpp28-May-07 8:49
devboycpp28-May-07 8:49 
QuestionString Parameter From .Net Application to .Net ASP Web Service Pin
Ram_Goldman28-May-07 8:25
Ram_Goldman28-May-07 8:25 
AnswerRe: String Parameter From .Net Application to .Net ASP Web Service Pin
doWhileSomething28-May-07 9:12
doWhileSomething28-May-07 9:12 
AnswerRe: String Parameter From .Net Application to .Net ASP Web Service Pin
Guffa28-May-07 9:15
Guffa28-May-07 9:15 

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.