Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PingException Constructor (String^, Exception^)

 

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

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

public:
PingException(
	String^ message,
	Exception^ innerException
)

Parameters

message
Type: System::String^

A String that describes the error.

innerException
Type: System::Exception^

The exception that causes the current exception.

This constructor initializes the Message property with the text in the message parameter, and the InnerException property with the innerException parameter.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft