ProtocolViolationException Constructor (String^)

 

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

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

public:
ProtocolViolationException(
	String^ message
)

Parameters

message
Type: System::String^

The error message string.

This constructor initializes a new instance of the ProtocolViolationException class with the Message property set to the value of the message parameter. If message is a null reference, the Message property is initialized to a system-supplied message. The InnerException property is initialized to null.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: