Hi,
when I add a service reference, Visual Studio creates the file 'Reference.cs'. Visual Studio implements the functions of a WCF service with following code:
public void <Functionname> {
return base.Channel.<Functionname>();
}
Now my question. Is it possible that the importer create following code automatically?
public void <Functionname> {
try
{
return base.Channel.<Functionname>();
}
catch (FaultException ex)
{
// Do anything
throw new MyException();
}
}
Regards
Marco La Tona