|
SnmpMessageExtensionEndGetResponse Method
|
Note: This API is now obsolete.
Ends a pending asynchronous read.
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 ISnmpMessage EndGetResponse(
this ISnmpMessage request,
IAsyncResult asyncResult
)
<ExtensionAttribute>
<ObsoleteAttribute("Please use GetResponseAsync and await on it.")>
Public Shared Function EndGetResponse (
request As ISnmpMessage,
asyncResult As IAsyncResult
) As ISnmpMessage
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Please use GetResponseAsync and await on it.")]
static ISnmpMessage^ EndGetResponse(
ISnmpMessage^ request,
IAsyncResult^ asyncResult
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("Please use GetResponseAsync and await on it.")>]
static member EndGetResponse :
request : ISnmpMessage *
asyncResult : IAsyncResult -> ISnmpMessage
GSF.Net.Snmp.Messaging.SnmpMessageExtension.EndGetResponse = function(request, asyncResult);
View SourceParameters
- request ISnmpMessage
- The ISnmpMessage.
- asyncResult IAsyncResult
- An IAsyncResult that stores state information and any user defined data for this asynchronous operation.
Return Value
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