C# Class SnmpSharpNet.SnmpException

Inheritance: System.Exception
Afficher le fichier Open project: griffina/SnmpSharpNet

Méthodes publiques

Свойство 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

Свойство Type Description
_errorCode int

Méthodes publiques

Méthode Description
SnmpException ( ) : System

Constructor.

SnmpException ( int errorCode, string msg ) : System

Constructor

SnmpException ( string msg ) : System

Standard constructor

Method Details

SnmpException() public méthode

Constructor.
public SnmpException ( ) : System
Résultat System

SnmpException() public méthode

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

SnmpException() public méthode

Standard constructor
public SnmpException ( string msg ) : System
msg string SNMP Exception message
Résultat System

Property Details

AuthenticationFailed public_oe static_oe property

Authentication of the received packet failed.
public static int AuthenticationFailed
Résultat 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
Résultat int

InvalidAuthoritativeEngineId public_oe static_oe property

Authoritative engine id is invalid.
public static int InvalidAuthoritativeEngineId
Résultat int

InvalidEngineBoots public_oe static_oe property

Engine boots value is invalid
public static int InvalidEngineBoots
Résultat int

InvalidIAgentParameters public_oe static_oe property

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

InvalidOid public_oe static_oe property

Specified Oid is invalid
public static int InvalidOid
Résultat 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
Résultat int

InvalidRequestId public_oe static_oe property

Invalid request id in the packet.
public static int InvalidRequestId
Résultat 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
Résultat 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
Résultat int

NoDataReceived public_oe static_oe property

Null data received on request.
public static int NoDataReceived
Résultat int

None public_oe static_oe property

No error
public static int None
Résultat 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
Résultat int

PacketOutsideTimeWindow public_oe static_oe property

Received packet is outside the time window acceptable. Packet failed timeliness check.
public static int PacketOutsideTimeWindow
Résultat 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
Résultat int

RequestTimedOut public_oe static_oe property

Reply to a request was not received within the timeout period
public static int RequestTimedOut
Résultat int

UnsupportedNoAuthPriv public_oe static_oe property

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

UnsupportedPrivacyProtocol public_oe static_oe property

Privacy protocol requested is not supported.
public static int UnsupportedPrivacyProtocol
Résultat int

UnsupportedSecurityModel public_oe static_oe property

Security model specified in the packet is not supported
public static int UnsupportedSecurityModel
Résultat 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
Résultat int