Class ProtocolViolationException
The exception that is thrown when an error is made while using a network protocol.
Inherited Members
Namespace: System.Net
Assembly: System.Net.Http.dll
Syntax
public class ProtocolViolationException : InvalidOperationException
Constructors
ProtocolViolationException()
Initializes a new instance of the
Declaration
public ProtocolViolationException()
ProtocolViolationException(string)
Initializes a new instance of the
Declaration
public ProtocolViolationException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message string. |