In my program I call a method
xslTransform.Load(strXmlQueryTransformPath, xslSettings, new XmlUrlResolver());
The problem I am facing is: sometimes this function doesn't execute well within the time.
Sometimes compiler raises the time out issue after a long time of trial.. which inturn causes this part of application to shut. That is what I want to avoid.
So if it exceeds certain time say 10 seconds I need to recall the method. Is it possible to add some code lines adjacent to this, which can meet the requirement?