Class PortInUseException
- Namespace
- Lextm.SharpSnmpLib.Messaging
- Assembly
- SharpSnmpLib.dll
Exception raised when an IP endpoint is already in use.
[DataContract]
public sealed class PortInUseException : SnmpException, ISerializable
- Inheritance
-
PortInUseException
- Implements
- Inherited Members
Constructors
PortInUseException()
Creates a PortInUseException.
public PortInUseException()
PortInUseException(string)
Creates a PortInUseException instance with a specific string.
public PortInUseException(string message)
Parameters
message
stringMessage
PortInUseException(string, Exception)
Creates a PortInUseException instance with a specific string and an Exception.
public PortInUseException(string message, Exception inner)
Parameters
Properties
Endpoint
The endpoint already in use.
public IPEndPoint? Endpoint { get; set; }
Property Value
Methods
ToString()
Returns a string that represents this PortInUseException.
public override string ToString()