S
Saya
Hi,
In my app I've done the following:
.....
wReq=(HttpWebRequest)WebRequest.Create(someURL);
.....
wRes=(HttpWebResponse)(wReq).GetResponse();
On this last line, the GetResponse generates a failure and my app
crashes with an exception error.
The question is: how can I catch this error? I've tried surrounding
the whole stuff with try-catch, but it doesn't enter my catch section!
From IExplorer I can see that they are able to do it: you just get a
blank page with a tiny red cross on it (instead of crashing ....).
Please advise; thank you.
Saya
In my app I've done the following:
.....
wReq=(HttpWebRequest)WebRequest.Create(someURL);
.....
wRes=(HttpWebResponse)(wReq).GetResponse();
On this last line, the GetResponse generates a failure and my app
crashes with an exception error.
The question is: how can I catch this error? I've tried surrounding
the whole stuff with try-catch, but it doesn't enter my catch section!
From IExplorer I can see that they are able to do it: you just get a
blank page with a tiny red cross on it (instead of crashing ....).
Please advise; thank you.
Saya