An exception thrown when a remote endpoint could not be found or reached. It is predominantly thrown while using communication technologies, such as Windows Communication Foundation (WCF).
The EndpointNotFoundException
Class is a Microsoft .NET communication class that represents an
exception that is thrown when a remote endpoint could not be found or reached.
It is predominantly thrown while using communication technologies, such as Windows Communication Foundation (WCF). The linked page provides the following remarks:
The endpoint may not be found or reachable because the remote endpoint is down, the remote endpoint is unreachable, or because the remote network is unreachable.
This exception derives from CommunicationException that represents a class of recoverable errors that may be thrown during communication between endpoints and that robust client and service Windows Communication Foundation (WCF) applications are expected to handle. To prevent a handler for the CommunicationException handler from catching the more specific EndpointNotFoundException, catch this exception prior to handling CommunicationException.