PowerSNMP for .NET CF
ResponseMessage Constructor(InformMessage)
See Also  Send comments on this topic.
Dart.Snmp Namespace > ResponseMessage Class > ResponseMessage Constructor : ResponseMessage Constructor(InformMessage)




request
The InformMessage representing the request received from the SNMP manager.
Initializes a new instance of the ResponseMessage class based upon the received InformMessage.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal request As InformMessage _
)
Visual Basic (Usage)Copy Code
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.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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