Export (0) Print
Expand All

ProtocolViolationException Constructor (String)

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

Namespace:  System.Net
Assembly:  System.Net (in System.Net.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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft