IVsWCFReferenceGroupOptions.GetSerializer Method

Definition

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

public:
 Microsoft::VisualStudio::WCFReference::Interop::ProxySerializerType GetSerializer();
public:
 Microsoft::VisualStudio::WCFReference::Interop::ProxySerializerType GetSerializer();
Microsoft::VisualStudio::WCFReference::Interop::ProxySerializerType GetSerializer();
public Microsoft.VisualStudio.WCFReference.Interop.ProxySerializerType GetSerializer ();
abstract member GetSerializer : unit -> Microsoft.VisualStudio.WCFReference.Interop.ProxySerializerType
Public Function GetSerializer () As ProxySerializerType

Returns

A proxy serializer type 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.

Applies to