Constructor.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public ScopedPdu(
	PduType pduType,
	int requestId
)
Visual Basic
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

See Also