# MarkdownViewErrorEventArgs

Describes an exception raised while the markdown host is initializing, rendering, or handling shell events.

Class 

`OfficeIMO.MarkdownRenderer.Wpf`

**Namespace**

`OfficeIMO.MarkdownRenderer.Wpf`

**Assembly**

`OfficeIMO.MarkdownRenderer.Wpf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[MarkdownViewErrorEventArgs.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.Wpf/Common/MarkdownViewErrorEventArgs.cs#L10)

**Base**

`EventArgs`

**Modifiers**

sealed

Describes an exception raised while the markdown host is initializing, rendering, or handling shell events.

## Inheritance

- EventArgs
- MarkdownViewErrorEventArgs

Filter members 

Show inherited

## Constructors

`public MarkdownViewErrorEventArgs(string context, Exception exception)` [#](#constructor-ctor-string-exception)

[MarkdownViewErrorEventArgs.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.Wpf/Common/MarkdownViewErrorEventArgs.cs#L10)

Creates a new error event args instance.

Parameters

**context string required**

**exception System.Exception required**

## 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?`

## Properties

`public string Context { get; }` [#](#property-context)

[MarkdownViewErrorEventArgs.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.Wpf/Common/MarkdownViewErrorEventArgs.cs#L20)

Short text describing the operation that failed.

`public Exception Exception { get; }` [#](#property-exception)

[MarkdownViewErrorEventArgs.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.Wpf/Common/MarkdownViewErrorEventArgs.cs#L25)

The exception observed by the markdown host.

<!-- PowerForge markdown artifact sha256:22EC4DCE85531B11F96919B779863785695275C9BD24244291067BCFD360CD10 -->
