ProxySerializerType Enumeration
Provides an enumeration for use in selecting the serializer to use when you generate code.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
'Declaration
Public Enumeration ProxySerializerType
public enum ProxySerializerType
public enum class ProxySerializerType
type ProxySerializerType
public enum ProxySerializerType
Members
Member name | Description | |
---|---|---|
PST_Auto | Automatically choose the serializer. | |
PST_DataContractSerializer | Generate the code based on the data contract. | |
PST_XmlSerializer | 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.