SnmpMessageExtensionSendAsync Method (ISnmpMessage, EndPoint, Socket) |
Namespace:
Lextm.SharpSnmpLib.Messaging
Assembly:
SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.4.0+601762d0e653a71ebb69af963204dfbfb6c26b74
Syntax public static Task SendAsync(
this ISnmpMessage message,
EndPoint manager,
Socket socket
)
<ExtensionAttribute>
Public Shared Function SendAsync (
message As ISnmpMessage,
manager As EndPoint,
socket As Socket
) As Task
public:
[ExtensionAttribute]
static Task^ SendAsync(
ISnmpMessage^ message,
EndPoint^ manager,
Socket^ socket
)
[<ExtensionAttribute>]
static member SendAsync :
message : ISnmpMessage *
manager : EndPoint *
socket : Socket -> Task
Parameters
- message
- Type: Lextm.SharpSnmpLib.MessagingISnmpMessage
- manager
- Type: System.NetEndPoint
- socket
- Type: System.Net.SocketsSocket
Return Value
Type:
TaskUsage 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