Property this
- Assembly
- Skyline.DataMiner.Utils.SNMP.Traps.Protocol.dll
this[string]
Gets the variable binding with the specified OID.
public TrapInfoVariableBinding this[string oid] { get; }
Parameters
oid
stringThe OID of the trap variable binding to get.
Property Value
- TrapInfoVariableBinding
The trap variable binding with the specified OID. If a trap variable binding with the specified OID is not found, an exception is thrown.
Examples
TrapInfoBinding binding = trapBindingCollection["1.1.1"];
Exceptions
- ArgumentNullException
oid
is null.- KeyNotFoundException
An element with the specified key does not exist in the collection.