It is not accepting that. I have tried:
reqObj.Timeout = timespan.maxvalue.seconds
reqObj.Timeout = timespan.maxvalue.minutes
It returns reqObj.Timeout = timespan.maxvalue cannot be converted to integer when I leave it as you have put it here. I get an arithmetic error when I try the above variants Ideas?
-D-
Main Topics
Browse All Topics





by: CodeCruiserPosted on 2009-03-11 at 03:07:43ID: 23855269
Just a small change which may help
reqObj.Timeout = timespan.maxvalue