| Dart.PowerSNMP Namespace > Agent Class > Send Method : Send(Message,String,Int32) Method |
Send a message to the SNMP manager specified.
[Visual Basic]
Overloads Public Function Send( _
ByVal message As Message, _
ByVal remoteHost As String, _
ByVal remotePort As Integer _
) As Integer[C#]
public int Send(
Message message,
string remoteHost,
int remotePort
);[C++]
public: int Send(
Message* message,
string* remoteHost,
int remotePort
) [C++/CLI]
public:
int Send(
Message^ message,
String^ remoteHost,
int remotePort
) | Exception | Description |
|---|---|
| SocketException | A problem was experienced using network resources. |
| InvalidOperationException | The provided message parameter is not a ResponseMessage, ReportMessage, TrapMessage, or NotifyMessage. |
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Agent Class | Agent Members | Overload List
Send comments on this topic.
Documentation version 1.2.0.0.
© 2008 Dart Communications. All rights reserved.