Any network-related exception. Unlike SocketException, NetworkException is not specific to errors encountered at the transport layer, but can be attributable to arbitrary component or subsystem of the network. Nontheless, network exceptions are still expected to be handled when using transport layer API (for example, Socket).
Parent Class
Type | Name | Signature |
---|---|---|
constructor | NetworkException | public NetworkException(string) |
public NetworkException(string message)
Create an SocketException with specified message.
Parameters