Dart.Snmp Namespace > MibTraps Class : CreateSpecificTrapMessage Method |
Public Function CreateSpecificTrapMessage( _ ByVal trapName As Enum, _ ByVal sysUpTime As Long _ ) As Trap1Message
Dim instance As MibTraps Dim trapName As Enum Dim sysUpTime As Long Dim value As Trap1Message value = instance.CreateSpecificTrapMessage(trapName, sysUpTime)
public Trap1Message CreateSpecificTrapMessage( Enum trapName, long sysUpTime )
public: Trap1Message* CreateSpecificTrapMessage( Enum* trapName, long sysUpTime )
public: Trap1Message^ CreateSpecificTrapMessage( Enum^ trapName, int64 sysUpTime )
The trapName parameter is an enumeration of trap names; the enum is contained in the Mib Code File generated by MibNodes.GenerateCode. Traps cannot be created from dynamically loaded traps using this method; use the Trap1Message constructor directly instead.
For generic traps such as warmstart, use CreateGenericTrapMessage.