PowerSNMP for .NET CF
SpecificTrap Constructor
See Also  Send comments on this topic.
Dart.Snmp.Trap Namespace > SpecificTrap Class : SpecificTrap Constructor




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).
Creates any specific trap. The user is responsible for creating any required variables.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal specificTrap As Integer, _
   ByVal enterpriseId As String _
)
Visual Basic (Usage)Copy Code
Dim specificTrap As Integer
Dim enterpriseId As String
 
Dim instance As New SpecificTrap(specificTrap, enterpriseId)
C# 
public SpecificTrap( 
   int specificTrap,
   string enterpriseId
)
Managed Extensions for C++ 
public: SpecificTrap( 
   int specificTrap,
   string* enterpriseId
)
C++/CLI 
public:
SpecificTrap( 
   int specificTrap,
   String^ enterpriseId
)

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).

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.