A
allen
I'm having a problem in that the first time an exception is thrown in
my app, there is about a 2 second pause. After that first time,
subsequent exceptions go very quickly. This pause is really annoying
the users who think the application is having problems, is there any
way I can make it not happen?
further, the reason this is happening is that I'm trying to test a
class to see if that class implements a certain interface. I'm not
sure how to do that without doing a
IMyInterface imyint = (IMyInterface)someclass;
and doing this will always throw an exception if the class doesn't
implement the exception.
my app, there is about a 2 second pause. After that first time,
subsequent exceptions go very quickly. This pause is really annoying
the users who think the application is having problems, is there any
way I can make it not happen?
further, the reason this is happening is that I'm trying to test a
class to see if that class implements a certain interface. I'm not
sure how to do that without doing a
IMyInterface imyint = (IMyInterface)someclass;
and doing this will always throw an exception if the class doesn't
implement the exception.