Class XmlFormatterOptions
Specifies options that is related to XmlFormatter operations.
Inheritance
Namespace: Cuemon.Serialization.Xml.Formatters
Assembly: Cuemon.Serialization.Xml.dll
Syntax
public class XmlFormatterOptions
Constructors
| Improve this DocXmlFormatterOptions()
Initializes a new instance of the XmlFormatterOptions class.
Declaration
public XmlFormatterOptions()
Remarks
The following table shows the initial property values for an instance of XmlFormatterOptions.
Property | Initial Value |
---|---|
Settings | XmlSerializerSettings |
SynchronizeWithXmlConvert | true |
IncludeExceptionStackTrace | false |
Properties
| Improve this DocIncludeExceptionStackTrace
Gets or sets a value indicating whether the stack of an exception is included in the converter that handles exceptions.
Declaration
public bool IncludeExceptionStackTrace { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Settings
Gets or sets the settings to support the XmlFormatter.
Declaration
public XmlSerializerSettings Settings { get; }
Property Value
Type | Description |
---|---|
XmlSerializerSettings | A XmlSerializerSettings instance that specifies a set of features to support the XmlFormatter object. |
SynchronizeWithXmlConvert
Gets or sets a value indicating whether Settings should be synchronized on DefaultSettings.
Declaration
public bool SynchronizeWithXmlConvert { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|