ProxySerializerType Enum

Definition

Provides an enumeration for use in selecting the serializer to use when you generate code.

public enum class ProxySerializerType
public enum class ProxySerializerType
enum ProxySerializerType
public enum ProxySerializerType
type ProxySerializerType = 
Public Enum ProxySerializerType
Inheritance
ProxySerializerType

Fields

Name Value Description
PST_Auto 0

Automatically choose the serializer.

PST_DataContractSerializer 1

Generate the code based on the data contract.

PST_XmlSerializer 2

Generate the code based on XML.

Remarks

When set to PST_Auto, the code generator tries to use the PST_DataContractSerializer, and if that fails it reverts to the PST_XmlSerializer.

Applies to