| Agent Object : SendResponse Method |
| Visual Basic |
|---|
Public Sub SendResponse( _ ByVal responseMessage As SnmpMessage, _ ByVal targetEP As IPEndPoint _ ) |
Typically used within the body of the Request event to send a response SnmpMessage.
The responseMessage is sent over the socket that the request was received on.
responseMessage.Type must be snmpResponse or snmpReport; otherwise an exception is thrown.