Class TimeoutException
- Namespace
- Lextm.SharpSnmpLib.Messaging
- Assembly
- SharpSnmpLib.dll
Timeout exception type of #SNMP.
[DataContract]
public sealed class TimeoutException : OperationException, ISerializable
- Inheritance
-
TimeoutException
- Implements
- Inherited Members
Constructors
TimeoutException()
Creates a TimeoutException instance.
public TimeoutException()
TimeoutException(string)
Creates a TimeoutException instance with a specific string.
public TimeoutException(string message)
Parameters
message
stringMessage
TimeoutException(string, Exception)
Creates a TimeoutException instance with a specific string and an Exception instance.
public TimeoutException(string message, Exception inner)
Parameters
Properties
Timeout
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.
public int Timeout { get; }
Property Value
Methods
Create(IPAddress, int)
Creates a TimeoutException.
public static TimeoutException Create(IPAddress agent, int timeout)
Parameters
Returns
ToString()
Returns a string that represents this TimeoutException.
public override string ToString()