System.Net.NetworkInformation.NetworkInformationException Class

The exception that is thrown when an error occurs while retrieving network information.

See Also: NetworkInformationException Members

Syntax

public class NetworkInformationException : System.ComponentModel.Win32Exception

Remarks

Types in the System.Net.NetworkInformation namespace throw this exception when a call to a Win32 function fails. The NetworkInformationException.ErrorCode property contains the result returned by the function.

Requirements

Namespace: System.Net.NetworkInformation
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0