# OfficeInspectionResourceLimitException

An owning inspection engine reached an explicit admission ceiling. This is a resource failure, not malformed input.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[OfficeInspectionResourceLimitException.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeInspectionResourceLimitException.cs#L7)

**Base**

`IOException`

**Implements**

`ISerializable`

**Modifiers**

sealed

An owning inspection engine reached an explicit admission ceiling. This is a resource failure, not malformed input.

## Inheritance

- IOException
- OfficeInspectionResourceLimitException

Filter members 

Show inherited

## Constructors

`public OfficeInspectionResourceLimitException(string owner, string limitName, long maximum, Exception? innerException = null)` [#](#constructor-ctor-string-string-int64-exception)

[OfficeInspectionResourceLimitException.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeInspectionResourceLimitException.cs#L7)

Creates a limit failure retaining its canonical owner and optional underlying bounded-engine failure.

Parameters

**owner string required**

**limitName string required**

**maximum long required**

**innerException System.Exception? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual Exception GetBaseException()` [#](#method-getbaseexception)

Inherited from Exception

Returns

`Exception`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public virtual void GetObjectData(SerializationInfo info, StreamingContext context)` [#](#method-getobjectdata-serializationinfo-streamingcontext)

Inherited from Exception

`Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")` `EditorBrowsable(1)`

Parameters

**info SerializationInfo required**

**context StreamingContext required**

`public Type GetType()` [#](#method-gettype)

Inherited from Exception

Returns

`Type`

`public override string ToString()` [#](#method-tostring)

Inherited from Exception

Returns

`string`

## Properties

`public string Owner { get; }` [#](#property-owner)

[OfficeInspectionResourceLimitException.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeInspectionResourceLimitException.cs#L17)

The canonical bounded inspection family, such as content-safety or text-integrity.

`public string LimitName { get; }` [#](#property-limitname)

[OfficeInspectionResourceLimitException.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeInspectionResourceLimitException.cs#L19)

The exceeded native limit property or fixed admission ceiling.

`public long Maximum { get; }` [#](#property-maximum)

[OfficeInspectionResourceLimitException.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeInspectionResourceLimitException.cs#L21)

The maximum admitted value.

## Inherited Properties

`public MethodBase? TargetSite { get; }` [#](#property-targetsite)

Inherited from Exception

`public virtual string Message { get; }` [#](#property-message)

Inherited from Exception

`public virtual IDictionary Data { get; }` [#](#property-data)

Inherited from Exception

`public Exception? InnerException { get; }` [#](#property-innerexception)

Inherited from Exception

`public virtual string? HelpLink { get; set; }` [#](#property-helplink)

Inherited from Exception

`public virtual string? Source { get; set; }` [#](#property-source)

Inherited from Exception

`public int HResult { get; set; }` [#](#property-hresult)

Inherited from Exception

`public virtual string? StackTrace { get; }` [#](#property-stacktrace)

Inherited from Exception

<!-- PowerForge markdown artifact sha256:0288735EC1AE411E6A0AE63D5493A79BF456DAE8BE6D97EEA46C3D8866E323D5 -->
