ProtocolViolationException Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the ProtocolViolationException class.

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

public ProtocolViolationException()

The Message property is initialized to a system-supplied message that describes the error. The InnerException property is initialized to nullNothingnullptrunita null reference (Nothing in Visual Basic).