This documentation is archived and is not being maintained.

ActionNotSupportedException Class

This exception is typically thrown on the client when the action related to the operation invoked does not match any action of operations in the server.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public class ActionNotSupportedException : CommunicationException

The (partial) match failure on the service creates a wsa:ActionNotSupported fault on the wire that is turned into a ActionNotSupportedException on the client.

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 more generic handler for CommunicationException from catching the more specific ActionNotSupportedException, catch this exception prior to handling CommunicationException.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5, 3.0