|
MessengerSendTrapV1Async Method
|
Sends a TRAP v1 message.
Namespace: GSF.Net.Snmp.MessagingAssembly: GSF.Net (in GSF.Net.dll) Version: 2.4.248-beta
Syntax[CLSCompliantAttribute(false)]
public static Task SendTrapV1Async(
EndPoint receiver,
IPAddress agent,
OctetString community,
ObjectIdentifier enterprise,
GenericCode generic,
int specific,
uint timestamp,
IList<Variable> variables
)
<CLSCompliantAttribute(false)>
Public Shared Function SendTrapV1Async (
receiver As EndPoint,
agent As IPAddress,
community As OctetString,
enterprise As ObjectIdentifier,
generic As GenericCode,
specific As Integer,
timestamp As UInteger,
variables As IList(Of Variable)
) As Task
public:
[CLSCompliantAttribute(false)]
static Task^ SendTrapV1Async(
EndPoint^ receiver,
IPAddress^ agent,
OctetString^ community,
ObjectIdentifier^ enterprise,
GenericCode generic,
int specific,
unsigned int timestamp,
IList<Variable^>^ variables
)
[<CLSCompliantAttribute(false)>]
static member SendTrapV1Async :
receiver : EndPoint *
agent : IPAddress *
community : OctetString *
enterprise : ObjectIdentifier *
generic : GenericCode *
specific : int *
timestamp : uint32 *
variables : IList<Variable> -> Task
GSF.Net.Snmp.Messaging.Messenger.SendTrapV1Async = function(receiver, agent, community, enterprise, generic, specific, timestamp, variables);
View SourceParameters
- receiver EndPoint
- Receiver.
- agent IPAddress
- Agent.
- community OctetString
- Community name.
- enterprise ObjectIdentifier
- Enterprise OID.
- generic GenericCode
- Generic code.
- specific Int32
- Specific code.
- timestamp UInt32
- Timestamp.
- variables IListVariable
- Variable bindings.
Return Value
Task
RemarksThis method only supports SNMP v1.
See Also