|
SnmpMessageExtensionBeginGetResponse Method
|
Note: This API is now obsolete.
Begins to asynchronously send an
ISnmpMessage to an
IPEndPoint.
Namespace: GSF.Net.Snmp.MessagingAssembly: GSF.Net (in GSF.Net.dll) Version: 2.4.248-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
)
<ExtensionAttribute>
<ObsoleteAttribute("Please use GetResponseAsync and await on it.")>
Public Shared Function BeginGetResponse (
request As ISnmpMessage,
receiver As IPEndPoint,
registry As UserRegistry,
udpSocket As Socket,
callback As AsyncCallback,
state As Object
) As IAsyncResult
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Please use GetResponseAsync and await on it.")]
static IAsyncResult^ BeginGetResponse(
ISnmpMessage^ request,
IPEndPoint^ receiver,
UserRegistry^ registry,
Socket^ udpSocket,
AsyncCallback^ callback,
Object^ state
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("Please use GetResponseAsync and await on it.")>]
static member BeginGetResponse :
request : ISnmpMessage *
receiver : IPEndPoint *
registry : UserRegistry *
udpSocket : Socket *
callback : AsyncCallback *
state : Object -> IAsyncResult
GSF.Net.Snmp.Messaging.SnmpMessageExtension.BeginGetResponse = function(request, receiver, registry, udpSocket, callback, state);
View SourceParameters
- 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
IAsyncResultUsage 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