ActionNotSupportedException-Klasse
TOC
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern

ActionNotSupportedException-Klasse

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)

[SerializableAttribute] 
public class ActionNotSupportedException : CommunicationException
/** @attribute SerializableAttribute() */ 
public class ActionNotSupportedException extends CommunicationException
SerializableAttribute 
public class ActionNotSupportedException extends CommunicationException
Nicht zutreffend.

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.

System.Object
   System.Exception
     System.SystemException
       System.ServiceModel.CommunicationException
        System.ServiceModel.ActionNotSupportedException

Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 wird unter Windows Vista, Microsoft Windows XP SP2 und Windows Server 2003 SP1 unterstützt.

.NET Framework

Unterstützt in: 3.0
Anzeigen:
© 2016 Microsoft