C# Class SnmpSharpNet.SnmpException

Inheritance: System.Exception
Datei anzeigen Open project: griffina/SnmpSharpNet

Public Properties

Property Type Description
AuthenticationFailed int
InvalidAuthenticationParameterLength int
InvalidAuthoritativeEngineId int
InvalidEngineBoots int
InvalidIAgentParameters int
InvalidOid int
InvalidPrivacyParameterLength int
InvalidRequestId int
InvalidSecurityName int
MaximumMessageSizeExceeded int
NoDataReceived int
None int
OidValueTypeChanged int
PacketOutsideTimeWindow int
ReportOnNoReports int
RequestTimedOut int
UnsupportedNoAuthPriv int
UnsupportedPrivacyProtocol int
UnsupportedSecurityModel int

Protected Properties

Property Type Description
_errorCode int

Public Methods

Method Description
SnmpException ( ) : System

Constructor.

SnmpException ( int errorCode, string msg ) : System

Constructor

SnmpException ( string msg ) : System

Standard constructor

Method Details

SnmpException() public method

Constructor.
public SnmpException ( ) : System
return System

SnmpException() public method

Constructor
public SnmpException ( int errorCode, string msg ) : System
errorCode int Error code associated with the exception
msg string Error message
return System

SnmpException() public method

Standard constructor
public SnmpException ( string msg ) : System
msg string SNMP Exception message
return System

Property Details

AuthenticationFailed public_oe static_oe property

Authentication of the received packet failed.
public static int AuthenticationFailed
return int

InvalidAuthenticationParameterLength public_oe static_oe property

Invalid length of the authentication parameter field. Expected length is 12 bytes when authentication is enabled. Same length is used for both MD5 and SHA-1 authentication protocols.
public static int InvalidAuthenticationParameterLength
return int

InvalidAuthoritativeEngineId public_oe static_oe property

Authoritative engine id is invalid.
public static int InvalidAuthoritativeEngineId
return int

InvalidEngineBoots public_oe static_oe property

Engine boots value is invalid
public static int InvalidEngineBoots
return int

InvalidIAgentParameters public_oe static_oe property

UdpTarget request cannot be processed because IAgentParameters does not contain required information
public static int InvalidIAgentParameters
return int

InvalidOid public_oe static_oe property

Specified Oid is invalid
public static int InvalidOid
return int

InvalidPrivacyParameterLength public_oe static_oe property

Invalid length of the privacy parameter field. Expected length depends on the privacy protocol. This exception can be raised when privacy packet contents are invalidly set by agent or if wrong privacy protocol is set in the packet class definition.
public static int InvalidPrivacyParameterLength
return int

InvalidRequestId public_oe static_oe property

Invalid request id in the packet.
public static int InvalidRequestId
return int

InvalidSecurityName public_oe static_oe property

Security name (user name) in the reply does not match the name sent in request.
public static int InvalidSecurityName
return int

MaximumMessageSizeExceeded public_oe static_oe property

SNMP version 3 maximum message size exceeded. Packet that was encoded will exceed maximum message size acceptable in this transaction.
public static int MaximumMessageSizeExceeded
return int

NoDataReceived public_oe static_oe property

Null data received on request.
public static int NoDataReceived
return int

None public_oe static_oe property

No error
public static int None
return int

OidValueTypeChanged public_oe static_oe property

Oid value type returned by an earlier operation does not match the value type returned by a subsequent entry.
public static int OidValueTypeChanged
return int

PacketOutsideTimeWindow public_oe static_oe property

Received packet is outside the time window acceptable. Packet failed timeliness check.
public static int PacketOutsideTimeWindow
return int

ReportOnNoReports public_oe static_oe property

Report packet was received when Reportable flag was set to false (we notified the peer that we do not receive report packets).
public static int ReportOnNoReports
return int

RequestTimedOut public_oe static_oe property

Reply to a request was not received within the timeout period
public static int RequestTimedOut
return int

UnsupportedNoAuthPriv public_oe static_oe property

Privacy enabled without authentication combination in a packet is not supported.
public static int UnsupportedNoAuthPriv
return int

UnsupportedPrivacyProtocol public_oe static_oe property

Privacy protocol requested is not supported.
public static int UnsupportedPrivacyProtocol
return int

UnsupportedSecurityModel public_oe static_oe property

Security model specified in the packet is not supported
public static int UnsupportedSecurityModel
return int

_errorCode protected_oe property

Error code. Provides a finer grained information about why the exception happened. This can be useful to the process handling the error to determine how critical the error that occured is and what followup actions to take.
protected int _errorCode
return int