The exception that is thrown when a service fails to activate.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
This exception derives from CommunicationException that represents a class of recoverable errors that may be thrown during communication between endpoints and which Windows Communication Foundation (WCF) robust client and service applications are expected to handle. To prevent the more generic CommunicationException handler from catching the more specific ActionNotSupportedException, catch this exception prior to handling CommunicationException.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC