IVsWCFReferenceGroupOptions::SetSerializer Method (ProxySerializerType)

 

Sets the serializer to use when you generate code for a Windows Communication Foundation (WCF) client.

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

void SetSerializer(
	ProxySerializerType ProxySerializerType
)

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: