Hi,
In my socket client class, im catching SocketExceptions and throwing custom exceptions to notify the "consumer", however..this is not having the desired result, im getting
"An Unhandled exception has occured" when I throw the exception, I've tried placing try/catch blocks around my BeginSomeMethod(new AsyncCallBack(SomeMethodCallBack)) but thats not where the exception is going, any ideas how I can raise exceptions in the asynchronous callback?
thanks,
Matt.
In my socket client class, im catching SocketExceptions and throwing custom exceptions to notify the "consumer", however..this is not having the desired result, im getting
"An Unhandled exception has occured" when I throw the exception, I've tried placing try/catch blocks around my BeginSomeMethod(new AsyncCallBack(SomeMethodCallBack)) but thats not where the exception is going, any ideas how I can raise exceptions in the asynchronous callback?
thanks,
Matt.