Click or drag to resize

TimeoutException Class

Timeout exception type of #SNMP.
Inheritance Hierarchy
SystemObject
  SystemException
    Lextm.SharpSnmpLibSnmpException
      Lextm.SharpSnmpLibOperationException
        Lextm.SharpSnmpLib.MessagingTimeoutException

Namespace: Lextm.SharpSnmpLib.Messaging
Assembly: SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.5.7-2+Branch.master.Sha.2a75ece2c9d55c4f731f356d1512c8a5d19fa096.2a75ece2c9d55c4f731f356d1512c8a5d19fa096
Syntax
[SerializableAttribute]
public sealed class TimeoutException : OperationException, 
	ISerializable

The TimeoutException type exposes the following members.

Constructors
 NameDescription
Public methodTimeoutException Creates a TimeoutException instance.
Public methodTimeoutException(String) Creates a TimeoutException instance with a specific String.
Public methodTimeoutException(String, Exception) Creates a TimeoutException instance with a specific String and an Exception instance.
Top
Properties
 NameDescription
Public propertyAgent Agent address.
(Inherited from OperationException)
Public propertyDataGets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception)
Public propertyHelpLinkGets or sets a link to the help file associated with this exception.
(Inherited from Exception)
Public propertyHResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception)
Public propertyInnerExceptionGets the Exception instance that caused the current exception.
(Inherited from Exception)
Public propertyMessageGets a message that describes the current exception.
(Inherited from Exception)
Public propertySourceGets or sets the name of the application or the object that causes the error.
(Inherited from Exception)
Public propertyStackTraceGets a string representation of the immediate frames on the call stack.
(Inherited from Exception)
Public propertyTargetSiteGets the method that throws the current exception.
(Inherited from Exception)
Public propertyTimeout The time-out value, in milliseconds. The default value is 0, which indicates an infinite time-out period. Specifying -1 also indicates an infinite time-out period.
Top
Methods
 NameDescription
Public methodStatic memberCreate Creates a TimeoutException.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetBaseExceptionWhen overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectDataWhen overridden in a derived class, sets the SerializationInfo with information about the exception.
(Overrides OperationExceptionGetObjectData(SerializationInfo, StreamingContext))
Public methodGetTypeGets the runtime type of the current instance.
(Inherited from Exception)
Public methodToString Returns a String that represents this TimeoutException.
(Overrides SnmpExceptionToString)
Top
See Also