How to close WCF Client at callback
Hi,
For a "normal" wcf client as:
WCFServiceClient c = new WCFServiceClient();
try
{
c.HelloWorld();
}
catch
{
// acknowledge the Faulted state and allow transition to Closed
c.Abort();
// handle or throw
throw;
}
finally
{
c.Close();
}
But for a client of callback wcf services, what is the best way to to close client channel?
|