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.

NetworkInformationException Constructor (Int32)

 

Initializes a new instance of the NetworkInformationException class with the specified error code.

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

public:
NetworkInformationException(
	int errorCode
)

Parameters

errorCode
Type: System::Int32

A Win32 error code.

This constructor sets the value of the ErrorCode property to errorCode.

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