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
/** @attribute SerializableAttribute() */ 
public class ActionNotSupportedException extends CommunicationException
public class ActionNotSupportedException extends CommunicationException
Not applicable.

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 which robust client and service applications are expected to handle. To prevent the more 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0