Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem reading child by attribute Pin
Not Active20-Mar-10 4:28
mentorNot Active20-Mar-10 4:28 
GeneralRe: problem reading child by attribute Pin
Jassim Rahma20-Mar-10 4:33
Jassim Rahma20-Mar-10 4:33 
GeneralRe: problem reading child by attribute Pin
Not Active20-Mar-10 4:37
mentorNot Active20-Mar-10 4:37 
GeneralRe: problem reading child by attribute Pin
Jassim Rahma20-Mar-10 4:40
Jassim Rahma20-Mar-10 4:40 
GeneralRe: problem reading child by attribute Pin
Not Active20-Mar-10 6:50
mentorNot Active20-Mar-10 6:50 
AnswerRe: problem reading child by attribute Pin
Rod Kemp20-Mar-10 19:46
Rod Kemp20-Mar-10 19:46 
QuestionHttpWebRequest exception handling Pin
Evgeni5719-Mar-10 19:35
Evgeni5719-Mar-10 19:35 
AnswerRe: HttpWebRequest exception handling Pin
OriginalGriff19-Mar-10 22:50
mveOriginalGriff19-Mar-10 22:50 
Since I don't have any way of generating a 502 error, I have to assume that is does not set m_Rresponse when it throws an exception - which makes sense, since the throw instruction will terminate processing and transfer control to the catch block immediately. The documentation[^] says "If a WebException is thrown, use the Response and Status properties of the exception to determine the response from the server." which makes more sense to me than relying on an exception completing the instruction that detected the problem.

I am surprised it works for any error, not just 502!
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

GeneralRe: HttpWebRequest exception handling Pin
Luc Pattyn20-Mar-10 3:10
sitebuilderLuc Pattyn20-Mar-10 3:10 
Questionmean Pin
v_neil8719-Mar-10 18:52
v_neil8719-Mar-10 18:52 
AnswerRe: mean Pin
Rod Kemp19-Mar-10 19:35
Rod Kemp19-Mar-10 19:35 
AnswerRe: mean Pin
v_neil8719-Mar-10 19:43
v_neil8719-Mar-10 19:43 
AnswerRe: mean Pin
Not Active19-Mar-10 19:53
mentorNot Active19-Mar-10 19:53 
QuestionGetting a value from a constructor Pin
av725419-Mar-10 7:22
av725419-Mar-10 7:22 
AnswerRe: Getting a value from a constructor Pin
PIEBALDconsult19-Mar-10 7:27
mvePIEBALDconsult19-Mar-10 7:27 
GeneralRe: Getting a value from a constructor Pin
av725420-Mar-10 2:08
av725420-Mar-10 2:08 
GeneralRe: Getting a value from a constructor Pin
OriginalGriff20-Mar-10 2:55
mveOriginalGriff20-Mar-10 2:55 
GeneralRe: Getting a value from a constructor Pin
av725420-Mar-10 5:32
av725420-Mar-10 5:32 
GeneralRe: Getting a value from a constructor Pin
OriginalGriff20-Mar-10 6:53
mveOriginalGriff20-Mar-10 6:53 
GeneralRe: Getting a value from a constructor Pin
Phillip Donegan23-Mar-10 6:46
Phillip Donegan23-Mar-10 6:46 
AnswerRe: Getting a value from a constructor Pin
jayantbramhankar19-Mar-10 8:30
jayantbramhankar19-Mar-10 8:30 
GeneralRe: Getting a value from a constructor [modified] Pin
PIEBALDconsult19-Mar-10 8:58
mvePIEBALDconsult19-Mar-10 8:58 
GeneralRe: Getting a value from a constructor Pin
AspDotNetDev19-Mar-10 9:12
protectorAspDotNetDev19-Mar-10 9:12 
GeneralRe: Getting a value from a constructor Pin
PIEBALDconsult19-Mar-10 9:40
mvePIEBALDconsult19-Mar-10 9:40 
GeneralRe: Getting a value from a constructor Pin
av725420-Mar-10 2:12
av725420-Mar-10 2:12 

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.