MessageHeaderException Class
Assembly: System.ServiceModel (in system.servicemodel.dll)
'Declaration <SerializableAttribute> _ Public Class MessageHeaderException Inherits ProtocolException 'Usage Dim instance As MessageHeaderException
/** @attribute SerializableAttribute() */ public class MessageHeaderException extends ProtocolException
SerializableAttribute public class MessageHeaderException extends ProtocolException
Not applicable.
This exception is typically thrown when there are too many headers or headers are missing from the message. This can include infrastructure headers such as the Action and Reliable Message headers. This exception derives from ProtocolException, which in turn derives from CommunicationException. The CommunicationException class 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 the more generic CommunicationException handler from catching the more specific ProtocolException, catch this exception prior to handling CommunicationException.
System.Exception
System.SystemException
System.ServiceModel.CommunicationException
System.ServiceModel.ProtocolException
System.ServiceModel.MessageHeaderException
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.