SnmpMessageExtensionGetResponseAsync Method (ISnmpMessage, IPEndPoint, UserRegistry, Socket) |
Namespace:
Lextm.SharpSnmpLib.Messaging
Assembly:
SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.4.0+601762d0e653a71ebb69af963204dfbfb6c26b74
Syntax public static Task<ISnmpMessage> GetResponseAsync(
this ISnmpMessage request,
IPEndPoint receiver,
UserRegistry registry,
Socket udpSocket
)
<ExtensionAttribute>
Public Shared Function GetResponseAsync (
request As ISnmpMessage,
receiver As IPEndPoint,
registry As UserRegistry,
udpSocket As Socket
) As Task(Of ISnmpMessage)
public:
[ExtensionAttribute]
static Task<ISnmpMessage^>^ GetResponseAsync(
ISnmpMessage^ request,
IPEndPoint^ receiver,
UserRegistry^ registry,
Socket^ udpSocket
)
[<ExtensionAttribute>]
static member GetResponseAsync :
request : ISnmpMessage *
receiver : IPEndPoint *
registry : UserRegistry *
udpSocket : Socket -> Task<ISnmpMessage>
Parameters
- request
- Type: Lextm.SharpSnmpLib.MessagingISnmpMessage
- receiver
- Type: System.NetIPEndPoint
- registry
- Type: Lextm.SharpSnmpLib.SecurityUserRegistry
- udpSocket
- Type: System.Net.SocketsSocket
Return Value
Type:
TaskISnmpMessageUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ISnmpMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also