NetworkInformationException Constructor ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the NetworkInformationException class.

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

public NetworkInformationException()

This constructor sets the ErrorCode property to the most recent Win32 error.

.NET Framework
Available since 2.0
Return to top