Table of Contents

Class ConverterExceptionEventArgs

Namespace
NMF.Serialization
Assembly
NMF.Serialization.dll

Denotes event data if a converter caused an exception

public class ConverterExceptionEventArgs
Inheritance
ConverterExceptionEventArgs
Inherited Members

Constructors

ConverterExceptionEventArgs(string, object, Exception, XmlSerializationContext, ITypeSerializationInfo)

Creates a new instance

public ConverterExceptionEventArgs(string textValue, object value, Exception exception, XmlSerializationContext context, ITypeSerializationInfo type)

Parameters

textValue string

the text value

value object

the object value

exception Exception

the exception

context XmlSerializationContext

the element for which the exception occured

type ITypeSerializationInfo

the type that was attempted to (de-)serialize

Properties

Context

Gets the element for which the exception occured

public XmlSerializationContext Context { get; }

Property Value

XmlSerializationContext

Exception

Gets the exception

public Exception Exception { get; }

Property Value

Exception

Handled

Gets or sets a flag indicating that the exception has been handled

public bool Handled { get; set; }

Property Value

bool

TextValue

Gets or sets the text value

public string TextValue { get; set; }

Property Value

string

Type

Gets the type that was attempted to (de-)serialize

public ITypeSerializationInfo Type { get; }

Property Value

ITypeSerializationInfo

Value

Gets or sets the object value

public object Value { get; set; }

Property Value

object