ProtocolViolationException Constructor (String)
Collapse the table of content
Expand the table of content

ProtocolViolationException Constructor (String)

.NET Framework 1.1

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

[Visual Basic]
Public Sub New( _
   ByVal message As String _
)
[C#]
public ProtocolViolationException(
   string message
);
[C++]
public: ProtocolViolationException(
   String* message
);
[JScript]
public function ProtocolViolationException(
   message : String
);

Parameters

message
The error message string.

Remarks

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 a null reference (Nothing in Visual Basic).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

ProtocolViolationException Class | ProtocolViolationException Members | System.Net Namespace | ProtocolViolationException Constructor Overload List

Show:
© 2016 Microsoft