PowerSNMP for .NET
ResponseReceived Delegate




The corresponding RequestMessage.
Response from the target agent or manager. Null if a response was not received.
Populated with an Exception if the request failed.
The state argument from SnmpSocket.GetResponseAsync.
References the method to invoke on an IO completion thread when SnmpSocket.GetResponseAsync completes.
Syntax
Public Delegate Sub ResponseReceived( _
   ByVal request As RequestMessage, _
   ByVal response As ResponseMessage, _
   ByVal exception As Exception, _
   ByVal state As Object _
) 
Dim instance As New ResponseReceived(AddressOf HandlerMethod)
public delegate void ResponseReceived( 
   RequestMessage request,
   ResponseMessage response,
   Exception exception,
   object state
)
public: __gc __delegate void ResponseReceived( 
   RequestMessage* request,
   ResponseMessage* response,
   Exception* exception,
   Object* state
)
public delegate void ResponseReceived( 
   RequestMessage^ request,
   ResponseMessage^ response,
   Exception^ exception,
   Object^ state
)

Parameters

request
The corresponding RequestMessage.
response
Response from the target agent or manager. Null if a response was not received.
exception
Populated with an Exception if the request failed.
state
The state argument from SnmpSocket.GetResponseAsync.
See Also

Reference

ResponseReceived Members
Dart.Snmp Namespace

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic