Table of Contents

Class ProtocolViolationException

Namespace
System.Net
Assembly
System.Net.Http.dll

The exception that is thrown when an error is made while using a network protocol.

public class ProtocolViolationException : InvalidOperationException
Inheritance
ProtocolViolationException
Inherited Members
Extension Methods

Constructors

ProtocolViolationException()

Initializes a new instance of the ProtocolViolationException class.

public ProtocolViolationException()

ProtocolViolationException(string)

Initializes a new instance of the ProtocolViolationException class with the specified message.

public ProtocolViolationException(string message)

Parameters

message string

The error message string.