See Also: ProtocolViolationException Members
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
System.Net.ProtocolViolationException
All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.
A System.Net.ProtocolViolationException is thrown by types derived from System.Net.WebRequest and System.Net.WebResponse to indicate that an error has occurred as defined by the rules of the underlying protocol. For example, the System.Net.HttpWebRequest type throws a System.Net.ProtocolViolationException when an application attempts to send content without specifying the content length.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0