# OfflineAddressBookLimitExceededException

Raised when an OAB structure exceeds a configured safety limit.

Class 

`OfficeIMO.Email.AddressBook`

**Namespace**

`OfficeIMO.Email.AddressBook`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OfflineAddressBookLimitExceededException.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/AddressBook/Reading/OfflineAddressBookLimitExceededException.cs#L8)

**Base**

`IOException`

**Implements**

`ISerializable`

**Modifiers**

sealed

Raised when an OAB structure exceeds a configured safety limit.

## Inheritance

- IOException
- OfflineAddressBookLimitExceededException

Filter members 

Show inherited

## Constructors

`public OfflineAddressBookLimitExceededException(string limitName, long actualValue, long limitValue, string? location = null)` [#](#constructor-ctor-string-int64-int64-string)

[OfflineAddressBookLimitExceededException.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/AddressBook/Reading/OfflineAddressBookLimitExceededException.cs#L8)

Creates a limit exception.

Parameters

**limitName string required**

**actualValue long required**

**limitValue long required**

**location string? = 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 LimitName { get; }` [#](#property-limitname)

[OfflineAddressBookLimitExceededException.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/AddressBook/Reading/OfflineAddressBookLimitExceededException.cs#L20)

Name of the exceeded option.

`public long ActualValue { get; }` [#](#property-actualvalue)

[OfflineAddressBookLimitExceededException.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/AddressBook/Reading/OfflineAddressBookLimitExceededException.cs#L22)

Observed value.

`public long LimitValue { get; }` [#](#property-limitvalue)

[OfflineAddressBookLimitExceededException.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/AddressBook/Reading/OfflineAddressBookLimitExceededException.cs#L24)

Configured maximum.

`public string? Location { get; }` [#](#property-location)

[OfflineAddressBookLimitExceededException.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/AddressBook/Reading/OfflineAddressBookLimitExceededException.cs#L26)

Logical source location when available.

## 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:5F5AD4EACC5A3C95B832E70E208324811C396DF36EB15AC70CB34FA92944AECE -->
