Constructor.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)
Syntax
| C# |
|---|
public ScopedPdu( PduType pduType, int requestId ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ pduType As PduType, _ requestId As Integer _ ) |
| Visual C++ |
|---|
public: ScopedPdu( PduType pduType, int requestId ) |
Parameters
- pduType
- Type: SnmpSharpNet..::.PduType
Pdu type value.
- requestId
- Type: System..::.Int32
Request id for the ScopedPdu instance.
Remarks
Standard constructor that sets ScopedPdu request type and request id. For valid types see PduType.
By default, requestId value is set to a random value. Second argument allows caller to specify request
id for this packet