Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal request As InformMessage _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim request As InformMessage Dim instance As New ResponseMessage(request) |
C# | |
---|---|
public ResponseMessage( InformMessage request ) |
Managed Extensions for C++ | |
---|---|
public: ResponseMessage( InformMessage* request ) |
C++/CLI | |
---|---|
public: ResponseMessage( InformMessage^ request ) |
Parameters
- request
- The InformMessage representing the request received from the SNMP manager.
This constructor will create a ResponseMessage with a matching MessageBase.Version, cref="MessageBase.Id"/>, and StandardMessage.Security. A copy of the Variables is made with empty values.
When a Manager receives an InformMessage, this constructor should be used to create the ResponseMessage that should be returned to the sending Manager.
Target Platforms: Microsoft .NET Framework 2.0