errorIndex (property)

Index of the first variable (object) that caused an error from the last SNMP response.

Syntax

@property (nonatomic,readonly,assign,getter=errorIndex) int errorIndex;
- (int)errorIndex;
public var errorIndex: Int32 {
  get {...}
}

Default Value

0

Remarks

This property is used in conjunction with the ErrorStatus property, and refers to the object that caused the error reported in the last SNMP response. This value is parsed directly from the SNMP response, which will be a one-based value, so a value of i here maps to index i-1 in the Objects collection.

The ErrorIndex property has no meaning when the ErrorStatus property is 0 (no error).

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 iOS Edition - Version 20.0 [Build 8202]