Table of Contents

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 string

Message

PortInUseException(string, Exception)

Creates a PortInUseException instance with a specific string and an Exception.

public PortInUseException(string message, Exception inner)

Parameters

message string

Message

inner Exception

Inner exception

Properties

Endpoint

The endpoint already in use.

public IPEndPoint? Endpoint { get; set; }

Property Value

IPEndPoint

Methods

ToString()

Returns a string that represents this PortInUseException.

public override string ToString()

Returns

string