IVsWCFReferenceGroupOptions.GetSerializer 方法

返回序列化程序时要使用生成 windows communication foundation (WCF) 的客户端代码。

命名空间:  Microsoft.VisualStudio.WCFReference.Interop
程序集:  Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

语法

声明
Function GetSerializer As ProxySerializerType
ProxySerializerType GetSerializer()
ProxySerializerType GetSerializer()
abstract GetSerializer : unit -> ProxySerializerType
function GetSerializer() : ProxySerializerType

返回值

类型:Microsoft.VisualStudio.WCFReference.Interop.ProxySerializerType
代理序列化程序类型的对象。

备注

当设置为 PST_Auto,代码生成器尝试使用 PST_DataContractSerializer,,并且,如果失败还原到 PST_XmlSerializer

.NET Framework 安全性

请参阅

参考

IVsWCFReferenceGroupOptions 接口

Microsoft.VisualStudio.WCFReference.Interop 命名空间