PingException Constructor (String^)

 

Initializes a new instance of the PingException class using the specified message.

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

public:
PingException(
	String^ message
)

Parameters

message
Type: System::String^

A String that describes the error.

This constructor initializes the Message property with the text in the message parameter. The InnerException property is set to null.

.NET Framework
Available since 2.0
Return to top
Show: