Table of Contents

Class OperationException

Namespace
Lextm.SharpSnmpLib
Assembly
SharpSnmpLib.dll

Operation exception of #SNMP.

[DataContract]
public class OperationException : SnmpException, ISerializable
Inheritance
OperationException
Implements
Derived
Inherited Members

Constructors

OperationException()

Creates a OperationException instance.

public OperationException()

OperationException(string)

Creates a OperationException instance with a specific string.

public OperationException(string message)

Parameters

message string

OperationException(string, Exception)

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

public OperationException(string message, Exception inner)

Parameters

message string
inner Exception

Properties

Agent

Agent address.

protected IPAddress? Agent { get; set; }

Property Value

IPAddress

Details

Details on operation.

protected override string Details { get; }

Property Value

string

Methods

Create(string, IPAddress)

Creates a OperationException with a specific IPAddress.

public static OperationException Create(string message, IPAddress agent)

Parameters

message string

Message

agent IPAddress

Agent address

Returns

OperationException