PowerSNMP for .NET
Counter Constructor(Int64)




The initial value given to this object. An Int64 is used because UInt32 is not CLS-compliant.
Initializes a new instance of the Counter class.
Syntax
Public Function New( _
   ByVal count As Long _
)
Dim count As Long
 
Dim instance As New Counter(count)
public Counter( 
   long count
)
public: Counter( 
   long count
)
public:
Counter( 
   int64 count
)

Parameters

count
The initial value given to this object. An Int64 is used because UInt32 is not CLS-compliant.
Exceptions
ExceptionDescription
System.ArgumentNullExceptioncount is a null reference.
System.FormatExceptioncount does not consist of an optional sign followed by a sequence of digits.
System.OverflowExceptioncount is less than UInt32.MinValue or greater than UInt32.MaxValue.
See Also

Reference

Counter Class
Counter Members
Overload List


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