Visual Basic (Declaration) | |
---|---|
Public Function New() |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As New GetMessage() |
C# | |
---|---|
public GetMessage() |
Managed Extensions for C++ | |
---|---|
public: GetMessage(); |
C++/CLI | |
---|---|
public: GetMessage(); |
An SNMP manager will use this constructor before adding variables to MessageBase.Variables. It is expected that the agent will provide the values for those IIDs provided in MessageBase.Variables. The Manager component uses the Encode method to encode the message before sending.
Target Platforms: Microsoft .NET Framework 2.0