# OfficeDocumentReadResultSchemaException

Describes an unsupported or invalid OfficeIMO document read result schema header.

Class 

`OfficeIMO.Reader`

**Namespace**

`OfficeIMO.Reader`

**Assembly**

`OfficeIMO.Reader.Core`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[OfficeDocumentReadResultSchema.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Reader.Core/OfficeDocumentReadResultSchema.cs#L77)

**Base**

`Exception`

**Implements**

`ISerializable`

**Modifiers**

sealed

Describes an unsupported or invalid OfficeIMO document read result schema header.

## Inheritance

- Exception
- OfficeDocumentReadResultSchemaException

Filter members 

Show inherited

## Constructors

`public OfficeDocumentReadResultSchemaException(string? schemaId, int schemaVersion)` [#](#constructor-ctor-string-int32)

[OfficeDocumentReadResultSchema.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Reader.Core/OfficeDocumentReadResultSchema.cs#L77)

Creates a schema compatibility exception.

Parameters

**schemaId string? required**

**schemaVersion int required**

## 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? SchemaId { get; }` [#](#property-schemaid)

[OfficeDocumentReadResultSchema.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Reader.Core/OfficeDocumentReadResultSchema.cs#L85)

Schema identifier found in the payload.

`public int SchemaVersion { get; }` [#](#property-schemaversion)

[OfficeDocumentReadResultSchema.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Reader.Core/OfficeDocumentReadResultSchema.cs#L90)

Schema version found in the payload.

## 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:AF271BF2B6AD90F025F03104911C8A859CAEDEED41D5F4BFE54DEDA25525634E -->
