PowerSNMP for .NET CF
ReportMessage Constructor(RequestMessage,VariableList)
See Also  Send comments on this topic.
Dart.Snmp Namespace > ReportMessage Class > ReportMessage Constructor : ReportMessage Constructor(RequestMessage,VariableList)




request
The RequestMessage representing the request received from the SNMP manager.
agentMib
A sorted list of Variable objects (IID/Value pairs) that are used to build the ReportMessage.
Initializes a new instance of the ReportMessage class based upon the request provided.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal request As RequestMessage, _
   ByVal agentMib As VariableList _
)
Visual Basic (Usage)Copy Code
Dim request As RequestMessage
Dim agentMib As VariableList
 
Dim instance As New ReportMessage(request, agentMib)
C# 
public ReportMessage( 
   RequestMessage request,
   VariableList agentMib
)
Managed Extensions for C++ 
public: ReportMessage( 
   RequestMessage* request,
   VariableList* agentMib
)
C++/CLI 
public:
ReportMessage( 
   RequestMessage^ request,
   VariableList^ agentMib
)

Parameters

request
The RequestMessage representing the request received from the SNMP manager.
agentMib
A sorted list of Variable objects (IID/Value pairs) that are used to build the ReportMessage.

Remarks

This constructor will create a ReportMessage with a matching MessageBase.Version, StandardMessage.Id, and StandardMessage.Security. All RequestMessage types are supported, including GetNextMessage and GetBulkMessage.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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