Table of Contents

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 SerializationInfo

Info

context StreamingContext

Context

SnmpException(string)

Creates a SnmpException instance with a specific string.

public SnmpException(string message)

Parameters

message string

Message

SnmpException(string, Exception)

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

public SnmpException(string message, Exception inner)

Parameters

message string

Message

inner Exception

Inner exception

Properties

Details

Details on operation.

protected virtual string Details { get; }

Property Value

string

Methods

ToString()

Returns a string that represents this SnmpException.

public override string ToString()

Returns

string