new public void Dispose() { if (proxy != null) { if (proxy.State != System.ServiceModel.CommunicationState.Closed) { proxy.Close(); } } }
new public void Dispose() { if (proxy != null) { if (proxy.State != System.ServiceModel.CommunicationState.Closed) { proxy.Close(); } } proxyProcesoEncuesta = new SoftvService.ProcesoEncuestaClient(); if (proxyProcesoEncuesta != null) { if (proxyProcesoEncuesta.State != System.ServiceModel.CommunicationState.Closed) { proxyProcesoEncuesta.Close(); } } }