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
stringthe text value
value
objectthe object value
exception
Exceptionthe exception
context
XmlSerializationContextthe element for which the exception occured
type
ITypeSerializationInfothe type that was attempted to (de-)serialize
Properties
Context
Gets the element for which the exception occured
public XmlSerializationContext Context { get; }
Property Value
Exception
Gets the exception
public Exception Exception { get; }
Property Value
Handled
Gets or sets a flag indicating that the exception has been handled
public bool Handled { get; set; }
Property Value
TextValue
Gets or sets the text value
public string TextValue { get; set; }
Property Value
Type
Gets the type that was attempted to (de-)serialize
public ITypeSerializationInfo Type { get; }
Property Value
Value
Gets or sets the object value
public object Value { get; set; }