SnmpMessageExtensionGetResponse Method (ISnmpMessage, Int32, IPEndPoint, Socket) |
Namespace:
Lextm.SharpSnmpLib.Messaging
Assembly:
SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.4.0+601762d0e653a71ebb69af963204dfbfb6c26b74
Syntax public static ISnmpMessage GetResponse(
this ISnmpMessage request,
int timeout,
IPEndPoint receiver,
Socket udpSocket
)
<ExtensionAttribute>
Public Shared Function GetResponse (
request As ISnmpMessage,
timeout As Integer,
receiver As IPEndPoint,
udpSocket As Socket
) As ISnmpMessage
public:
[ExtensionAttribute]
static ISnmpMessage^ GetResponse(
ISnmpMessage^ request,
int timeout,
IPEndPoint^ receiver,
Socket^ udpSocket
)
[<ExtensionAttribute>]
static member GetResponse :
request : ISnmpMessage *
timeout : int *
receiver : IPEndPoint *
udpSocket : Socket -> ISnmpMessage
Parameters
- request
- Type: Lextm.SharpSnmpLib.MessagingISnmpMessage
- timeout
- Type: SystemInt32
- receiver
- Type: System.NetIPEndPoint
- udpSocket
- Type: System.Net.SocketsSocket
Return Value
Type:
ISnmpMessageUsage 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