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)
Syntax
[SerializableAttribute]
[FlagsAttribute]
public enum SerializationArguments
[SerializableAttribute]
[FlagsAttribute]
public enum class SerializationArguments
<SerializableAttribute>
<FlagsAttribute>
Public Enumeration SerializationArguments
Members
Member name | Description | |
---|---|---|
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. |
See Also
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top