PowerSNMP for .NET
SpecificTrap Constructor




A value, when combined with the enterprise ID, specifies a unique kind of trap.
The id of the enterprise (usually the value of sysObjectID).
System uptime, usually taken from Dart.Snmp.Agent.SysUpTime.
Creates any specific trap. The user is responsible for creating any required variables.
Syntax
Public Function New( _
   ByVal specificTrap As Integer, _
   ByVal enterpriseId As String, _
   ByVal sysUpTime As Long _
)
Dim specificTrap As Integer
Dim enterpriseId As String
Dim sysUpTime As Long
 
Dim instance As New SpecificTrap(specificTrap, enterpriseId, sysUpTime)
public SpecificTrap( 
   int specificTrap,
   string enterpriseId,
   long sysUpTime
)
public: SpecificTrap( 
   int specificTrap,
   string* enterpriseId,
   long sysUpTime
)
public:
SpecificTrap( 
   int specificTrap,
   String^ enterpriseId,
   int64 sysUpTime
)

Parameters

specificTrap
A value, when combined with the enterprise ID, specifies a unique kind of trap.
enterpriseId
The id of the enterprise (usually the value of sysObjectID).
sysUpTime
System uptime, usually taken from Dart.Snmp.Agent.SysUpTime.
See Also

Reference

SpecificTrap Class
SpecificTrap Members

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic