Class SnmpException
- Namespace
- Lextm.SharpSnmpLib
- Assembly
- SharpSnmpLib.dll
Base exception type of #SNMP.
[DataContract]
public class SnmpException : Exception, ISerializable
- Inheritance
-
SnmpException
- Implements
- Derived
- Inherited Members
Constructors
SnmpException()
Creates a SnmpException.
public SnmpException()
SnmpException(SerializationInfo, StreamingContext)
Creates a SnmpException instance.
protected SnmpException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoInfo
context
StreamingContextContext
SnmpException(string)
Creates a SnmpException instance with a specific string.
public SnmpException(string message)
Parameters
message
stringMessage
SnmpException(string, Exception)
Creates a SnmpException instance with a specific string and an Exception.
public SnmpException(string message, Exception inner)
Parameters
Properties
Details
Details on operation.
protected virtual string Details { get; }
Property Value
Methods
ToString()
Returns a string that represents this SnmpException.
public override string ToString()