# MhtmlDiagnosticCodes

Stable diagnostics emitted by the MHTML archive boundary.

Class 

`OfficeIMO.Mhtml`

**Namespace**

`OfficeIMO.Mhtml`

**Assembly**

`OfficeIMO.Mhtml`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[MhtmlDiagnosticCodes.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Mhtml/MhtmlDiagnosticCodes.cs#L4)

**Modifiers**

static

Stable diagnostics emitted by the MHTML archive boundary.

## Inheritance

- object
- MhtmlDiagnosticCodes

Filter members 

Show inherited

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Fields

`public const string DuplicateContentId` [#](#field-duplicatecontentid)

[MhtmlDiagnosticCodes.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Mhtml/MhtmlDiagnosticCodes.cs#L6)

More than one related resource declared the same Content-ID; archive order wins.

Value: `MHTML_RESOURCE_CONTENT_ID_DUPLICATE`

`public const string DuplicateContentLocation` [#](#field-duplicatecontentlocation)

[MhtmlDiagnosticCodes.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Mhtml/MhtmlDiagnosticCodes.cs#L8)

More than one related resource resolved to the same Content-Location; archive order wins.

Value: `MHTML_RESOURCE_CONTENT_LOCATION_DUPLICATE`

`public const string DuplicateResourceIdentity` [#](#field-duplicateresourceidentity)

[MhtmlDiagnosticCodes.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Mhtml/MhtmlDiagnosticCodes.cs#L10)

More than one related part can be selected through the same filename or location resolver identity.

Value: `MHTML_RESOURCE_IDENTITY_DUPLICATE`

`public const string InvalidContentLocation` [#](#field-invalidcontentlocation)

[MhtmlDiagnosticCodes.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Mhtml/MhtmlDiagnosticCodes.cs#L12)

A related resource declared a Content-Location that could not be resolved against the archive base URI.

Value: `MHTML_RESOURCE_CONTENT_LOCATION_INVALID`

<!-- PowerForge markdown artifact sha256:458C9C6D964A077D5DC26130475B3505381EDC76C2F5D2E5F1B7D4B01DB33E50 -->
