Click or drag to resize

SNMPAddSig Method

Method to add user configurable sig to the corresponding collection. The valid sig numbers are from 1 and 4000.

Namespace: Crestron.SimplSharpPro
Assembly: SimplSharpPro (in SimplSharpPro.dll) Version: 2.21.121
Syntax
C#
public static void AddSig(
	eSigType type,
	uint number,
	string label,
	eSigIoMask ioMask
)

Parameters

type  eSigType
User defined sig type. The valid sig types are Bool, UShort and String.
number  UInt32
User defined number of the sig.
label  String
Alpha-numeric name for the sig that identifies the corresponding signal in both readOnly and ReadWrite MIB tables. This is limited to 240 characters and cannot be empty or null.
ioMask  eSigIoMask
User defined IO Mask type of the sig. Valid sig IO Mask types are InputOutputSig, InputOnlySig and OutputOnlySig.
Exceptions
ExceptionCondition
SigNumberInvalidExceptionInvalid number passed for sig.
SigIoMaskInvalidExceptionInvalid IO Mask value passed for sig.
SigTypeInvalidExceptionInvalid sig type passed for sig.
NotSupportedException SNMP is not supported
ArgumentException label specified cannot be empty or null
ArgumentException Sig with the specified number already defined.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also