The exception that is thrown when an error occurs while retrieving network information.
| C# | Visual Basic |
public class NetworkInformationException : Win32Exception
Public Class NetworkInformationException _ Inherits Win32Exception
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| NetworkInformationException()()() | ||
| NetworkInformationException(Int32) | ||
| Equals(Object) | (Inherited from Object.) | |
| ErrorCode |
Gets the Win32 error code for this exception.
(Overrides ExternalException.ErrorCode.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetBaseException()()() | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) | |
| InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Message | Gets a message that describes the current exception. (Inherited from Exception.) | |
| NativeErrorCode | Gets the Win32 error code associated with this exception. (Inherited from Win32Exception.) | |
| StackTrace | Gets a string representation of the frames on the call stack at the time the current exception was thrown. (Inherited from Exception.) | |
| ToString()()() | Creates and returns a string representation of the current exception. (Inherited from Exception.) |
| Object | |||||
| Exception | |||||
| SystemException | |||||
| ExternalException | |||||
| Win32Exception | |||||
| NetworkInformationException | |||||