SerializationArguments Enumeration

 

Flags that specify actions to take when serializing XML.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

[SerializableAttribute]
[FlagsAttribute]
public enum class SerializationArguments

Member nameDescription
None

Do nothing.

StripAll

Strip all formatting, such as XML attributes, spaces, or carriage returns.

StripAllAndThrow

If there is a serialization exception, strip all formatting and throw an exception.

StripFormatting

Strip any pretty formatting, such as spaces or carriage returns.

StripXmlGarbage

Strip any XML attributes, such as xmlns:example.

ThrowOnException

If formatting fails, throw an exception.

Return to top
Show: