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)

public enum ProxySerializerType

Member nameDescription
PST_Auto

Automatically choose the serializer.

PST_DataContractSerializer

Generate the code based on the data contract.

PST_XmlSerializer

Generate the code based on XML.

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

Return to top
Show: