C# Класс SnmpSharpNet.SnmpException

Наследование: System.Exception
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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)

Свойство Тип Описание
_errorCode int

Открытые методы

Метод Описание
SnmpException ( ) : System

Constructor.

SnmpException ( int errorCode, string msg ) : System

Constructor

SnmpException ( string msg ) : System

Standard constructor

Описание методов

SnmpException() публичный Метод

Constructor.
public SnmpException ( ) : System
Результат System

SnmpException() публичный Метод

Constructor
public SnmpException ( int errorCode, string msg ) : System
errorCode int Error code associated with the exception
msg string Error message
Результат System

SnmpException() публичный Метод

Standard constructor
public SnmpException ( string msg ) : System
msg string SNMP Exception message
Результат System

Описание свойств

AuthenticationFailed публичное статическое свойство

Authentication of the received packet failed.
public static int AuthenticationFailed
Результат int

InvalidAuthenticationParameterLength публичное статическое свойство

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
Результат int

InvalidAuthoritativeEngineId публичное статическое свойство

Authoritative engine id is invalid.
public static int InvalidAuthoritativeEngineId
Результат int

InvalidEngineBoots публичное статическое свойство

Engine boots value is invalid
public static int InvalidEngineBoots
Результат int

InvalidIAgentParameters публичное статическое свойство

UdpTarget request cannot be processed because IAgentParameters does not contain required information
public static int InvalidIAgentParameters
Результат int

InvalidOid публичное статическое свойство

Specified Oid is invalid
public static int InvalidOid
Результат int

InvalidPrivacyParameterLength публичное статическое свойство

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
Результат int

InvalidRequestId публичное статическое свойство

Invalid request id in the packet.
public static int InvalidRequestId
Результат int

InvalidSecurityName публичное статическое свойство

Security name (user name) in the reply does not match the name sent in request.
public static int InvalidSecurityName
Результат int

MaximumMessageSizeExceeded публичное статическое свойство

SNMP version 3 maximum message size exceeded. Packet that was encoded will exceed maximum message size acceptable in this transaction.
public static int MaximumMessageSizeExceeded
Результат int

NoDataReceived публичное статическое свойство

Null data received on request.
public static int NoDataReceived
Результат int

None публичное статическое свойство

No error
public static int None
Результат int

OidValueTypeChanged публичное статическое свойство

Oid value type returned by an earlier operation does not match the value type returned by a subsequent entry.
public static int OidValueTypeChanged
Результат int

PacketOutsideTimeWindow публичное статическое свойство

Received packet is outside the time window acceptable. Packet failed timeliness check.
public static int PacketOutsideTimeWindow
Результат int

ReportOnNoReports публичное статическое свойство

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
Результат int

RequestTimedOut публичное статическое свойство

Reply to a request was not received within the timeout period
public static int RequestTimedOut
Результат int

UnsupportedNoAuthPriv публичное статическое свойство

Privacy enabled without authentication combination in a packet is not supported.
public static int UnsupportedNoAuthPriv
Результат int

UnsupportedPrivacyProtocol публичное статическое свойство

Privacy protocol requested is not supported.
public static int UnsupportedPrivacyProtocol
Результат int

UnsupportedSecurityModel публичное статическое свойство

Security model specified in the packet is not supported
public static int UnsupportedSecurityModel
Результат int

_errorCode защищенное свойство

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
Результат int