PowerSNMP for .NET
DecodingException Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by DecodingException.

Public Fields
 NameDescription
Public FieldEncodedMessage Gets the encoded bytes of the message.  
Public FieldErrorCode Gets the ErrorCode encountered while decoding an encoded message.  
Public FieldId Gets the message Id from the security header.  
Public FieldOffset Gets the offset into the buffer where the error occurred.  
Public FieldOrigin Gets the address of the sender of the message.  
Public FieldUsername Gets the user name from the security header.  
Top
Public Properties
 NameDescription
Public PropertyDataGets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from System.Exception)
Public PropertyHelpLinkGets or sets a link to the help file associated with this exception. (Inherited from System.Exception)
Public PropertyHResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from System.Exception)
Public PropertyInnerExceptionGets the System.Exception instance that caused the current exception. (Inherited from System.Exception)
Public PropertyMessageGets a message that describes the current exception. (Inherited from System.Exception)
Public PropertySourceGets or sets the name of the application or the object that causes the error. (Inherited from System.Exception)
Public PropertyStackTraceGets a string representation of the immediate frames on the call stack. (Inherited from System.Exception)
Public PropertyTargetSiteGets the method that throws the current exception. (Inherited from System.Exception)
Top
Public Methods
 NameDescription
Public MethodGetBaseExceptionWhen overridden in a derived class, returns the System.Exception that is the root cause of one or more subsequent exceptions. (Inherited from System.Exception)
Public MethodGetObjectDataWhen overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception. (Inherited from System.Exception)
Public MethodGetTypeGets the runtime type of the current instance. (Inherited from System.Exception)
Public MethodToStringCreates and returns a string representation of the current exception. (Inherited from System.Exception)
Top
Protected Events
 NameDescription
Protected EventSerializeObjectStateOccurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from System.Exception)
Top
See Also

Reference

DecodingException Class
Dart.Snmp Namespace

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic