Calling end invoke on an asynchronous call when an exception has fired in WCF.
- by james.ingham
Hey,
I currently have an asynchronous call with a callback, which fires this method on completion:
private void TestConnectionToServerCallback(IAsyncResult iar)
{
bool result;
try
{
result = testConnectionDelegate.EndInvoke(iar);
Console.WriteLine("Connection made!");
}
catch (EndpointNotFoundException e)
…