| Dart.Snmp Namespace > InformMessage Class : InformMessage Constructor | 
Dim sysUpTime As Long Dim oid As String Dim instance As New InformMessage(sysUpTime, oid)
| Exception | Description | 
|---|---|
| System.OverflowException | sysUpTime is less than UInt32.MinValue or greater than UInt32.MaxValue. | 
This constructor will create a version 2 message that includes initializing the first 2 required variables. The first variable is set to an instance of a sysUpTime Variable and the second variable to an instance of an snmpTrapOID Variable with the parameter oid as its value.