---
title: clsAppError.Criteria
summary: API reference for clsAppError.Criteria.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-24
library: SAIF.Application.LogView
reference_type: package
---

# clsAppError.Criteria

`clsAppError.Criteria` is the public nested criteria type used by `clsAppError` for single-object create and retrieve operations.

## Purpose
- Carry the `AppErrorSeqNum` key for single-object operations.
- Provide constructors that bind the criteria to an `IDataPortalInfo` instance.

## Context
- Namespace: `SAIF.Application.LogView`
- Assembly/package: `SAIF.Application.LogView`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `AppErrorSeqNum` | `Public Property AppErrorSeqNum() As Integer` | Stores the error sequence number used by the business object criteria. |
| `New` | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo)` | Creates criteria bound to a data-portal instance. |
| `New` | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inAppErrorSeqNum As Integer)` | Creates criteria bound to a data-portal instance and initialized with an error sequence number. |

## Behavioral notes
- `clsAppError` uses this criteria type when creating new objects and when retrieving existing objects by key.
- The SQL-property members implemented for `IBusinessCriteria` are `Friend` in source, so they are not part of the public API surface.

## Constraints and usage notes
- This page documents only the public members of the nested criteria type.

## Sources
- `Application\SAIF.Application.LogView\clsAppError.vb`
