TrapV2Message Constructor (VersionCode, Int32, Int32, OctetString, ObjectIdentifier, UInt32, IListVariable, IPrivacyProvider, Int32, OctetString, Int32, Int32) |
Namespace:
Lextm.SharpSnmpLib.Messaging
Assembly:
SharpSnmpLib (in SharpSnmpLib.dll) Version: 12.4.0+601762d0e653a71ebb69af963204dfbfb6c26b74
Syntax public TrapV2Message(
VersionCode version,
int messageId,
int requestId,
OctetString userName,
ObjectIdentifier enterprise,
uint time,
IList<Variable> variables,
IPrivacyProvider privacy,
int maxMessageSize,
OctetString engineId,
int engineBoots,
int engineTime
)
Public Sub New (
version As VersionCode,
messageId As Integer,
requestId As Integer,
userName As OctetString,
enterprise As ObjectIdentifier,
time As UInteger,
variables As IList(Of Variable),
privacy As IPrivacyProvider,
maxMessageSize As Integer,
engineId As OctetString,
engineBoots As Integer,
engineTime As Integer
)
public:
TrapV2Message(
VersionCode version,
int messageId,
int requestId,
OctetString^ userName,
ObjectIdentifier^ enterprise,
unsigned int time,
IList<Variable^>^ variables,
IPrivacyProvider^ privacy,
int maxMessageSize,
OctetString^ engineId,
int engineBoots,
int engineTime
)
new :
version : VersionCode *
messageId : int *
requestId : int *
userName : OctetString *
enterprise : ObjectIdentifier *
time : uint32 *
variables : IList<Variable> *
privacy : IPrivacyProvider *
maxMessageSize : int *
engineId : OctetString *
engineBoots : int *
engineTime : int -> TrapV2Message
Parameters
- version
- Type: Lextm.SharpSnmpLibVersionCode
- messageId
- Type: SystemInt32
- requestId
- Type: SystemInt32
- userName
- Type: Lextm.SharpSnmpLibOctetString
- enterprise
- Type: Lextm.SharpSnmpLibObjectIdentifier
- time
- Type: SystemUInt32
- variables
- Type: System.Collections.GenericIListVariable
- privacy
- Type: Lextm.SharpSnmpLib.SecurityIPrivacyProvider
- maxMessageSize
- Type: SystemInt32
- engineId
- Type: Lextm.SharpSnmpLibOctetString
- engineBoots
- Type: SystemInt32
- engineTime
- Type: SystemInt32
See Also