Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal request As RequestMessage, _ ByVal agentMib As VariableList _ ) |
Visual Basic (Usage) | ![]() |
---|---|
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.
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.
Target Platforms: Microsoft .NET Framework 2.0