Click or drag to resize

SnmpMessageExtensionBeginGetResponse Method

Note: This API is now obsolete.

Begins to asynchronously send an ISnmpMessage to an IPEndPoint.

Namespace: GSF.Net.Snmp.Messaging
Assembly: GSF.Net (in GSF.Net.dll) Version: 2.4.207-beta
Syntax
[ObsoleteAttribute("Please use GetResponseAsync and await on it.")]
public static IAsyncResult BeginGetResponse(
	this ISnmpMessage request,
	IPEndPoint receiver,
	UserRegistry registry,
	Socket udpSocket,
	AsyncCallback callback,
	Object state
)
View Source

Parameters

request  ISnmpMessage
The ISnmpMessage.
receiver  IPEndPoint
Agent.
registry  UserRegistry
The user registry.
udpSocket  Socket
The UDP Socket to use to send/receive.
callback  AsyncCallback
The callback.
state  Object
The state object.

Return Value

IAsyncResult

Usage 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