AddressAlreadyInUseException Class
The exception that is thrown when an address is unavailable because it is already in use.
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 that robust Windows Communication Foundation (WCF) client and service applications are expected to handle. To prevent a handler for CommunicationException from catching the more specific AddressAlreadyInUseException, catch this exception prior to handling CommunicationException.
System.Exception
System.SystemException
System.ServiceModel.CommunicationException
System.ServiceModel.AddressAlreadyInUseException
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.