IVsWCFReferenceGroupOptions.SetSerializer(ProxySerializerType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the serializer to use when you generate code for a Windows Communication Foundation (WCF) client.
public:
void SetSerializer(Microsoft::VisualStudio::WCFReference::Interop::ProxySerializerType ProxySerializerType);
public:
void SetSerializer(Microsoft::VisualStudio::WCFReference::Interop::ProxySerializerType ProxySerializerType);
void SetSerializer(Microsoft::VisualStudio::WCFReference::Interop::ProxySerializerType ProxySerializerType);
public void SetSerializer (Microsoft.VisualStudio.WCFReference.Interop.ProxySerializerType ProxySerializerType);
abstract member SetSerializer : Microsoft.VisualStudio.WCFReference.Interop.ProxySerializerType -> unit
Public Sub SetSerializer (ProxySerializerType As ProxySerializerType)
Parameters
- ProxySerializerType
- ProxySerializerType
A ProxySerializerType object.
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.