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: