ProtocolViolationException Class
Namespace: System.Net · Assembly: GHIElectronics.TinyCLR.Networking.Http
The exception that is thrown when an error is made while using a network protocol.
public class ProtocolViolationException : InvalidOperationException
Constructors
ProtocolViolationException()
public ProtocolViolationException()
Initializes a new instance of the ProtocolViolationException class.
ProtocolViolationException(string message)
public ProtocolViolationException(string message) : base(message)
Initializes a new instance of the ProtocolViolationException class with the specified message.
| Parameter | Type | Description |
|---|---|---|
message | string | The error message string. |