
| Visual Basic (Declaration) | |
|---|---|
Public Class GetNextMessage Inherits RequestMessage  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As GetNextMessage  | |
| C# | |
|---|---|
public class GetNextMessage : RequestMessage  | |
| Managed Extensions for C++ | |
|---|---|
public __gc class GetNextMessage : public RequestMessage  | |
| C++/CLI | |
|---|---|
public ref class GetNextMessage : public RequestMessage  | |
GetNextMessage derives from the RequestMessage class. It is used by an SNMP manager to request information from an SNMP agent while discovering what IIDs are being managed. The agent will typically respond by constructing and sending the manager a ResponseMessage that contains the next IID it manages (in lexigraphical order) along with that instance’s value. Multiple ID "fragments" may be requested, with the manager expecting a ResponseMessage containing the "next" IID for each ID fragment specified in the GetNextMessage.
For example, using an ID fragment of "1" in GetNextMessage might return an IID of "1.3.6.1.2.1.1.1.0" in the ResponseMessage, indicating that this is the first instance being managed by the agent.
System.Object
   Dart.Snmp.MessageBase
      Dart.Snmp.StandardMessage
         Dart.Snmp.RequestMessage
            Dart.Snmp.GetNextMessage
Target Platforms: Microsoft .NET Framework 2.0