PowerSNMP for .NET
Id Constructor




The initial value given to this object in string form. '0.0' is the minimum value that may be encoded.
Initializes a new instance of the Id class.
Syntax
Public Function New( _
   ByVal id As String _
)
Dim id As String
 
Dim instance As New Id(id)
public Id( 
   string id
)
public: Id( 
   string* id
)
public:
Id( 
   String^ id
)

Parameters

id
The initial value given to this object in string form. '0.0' is the minimum value that may be encoded.
Exceptions
ExceptionDescription
System.ArgumentExceptionid has less than 2 sub-ids or more than 128 sub-ids, or id does not encode/decode properly.
System.ArgumentNullExceptionid is a null reference.
System.FormatExceptionid contains a dotted value that is not an optional sign followed by a sequence of digits.
System.OverflowExceptionid contains a dotted value that is less than UInt32.MinValue or greater than UInt32.MaxValue
Remarks

The string value assigned to an Id object must be in the form n.n.n….n where each n is an unsigned 32-bit integer. The string is limited to 128 n values. The encoding requires that the max value of the first sub-id is 107374182, and the max value of the second sub-id is 39. Most Id's start with "1.3".

See Also

Reference

Id Class
Id Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic