Before I call Close()
on my WCF service, should I check to see if it is not already closed?
i.e.
myWCFService.State != System.ServiceModel.CommunicationState.Closed
My code looks like:
MyServiceClient myWCFClient = null;
try
{
myWCFClient = new .....();
}
catch
{
}
finally
{
myWCFClient.Close();
}