IVsWCFReferenceGroupOptions.GetGenerateMessageContracts 方法

确定消息协定是否为生成 windows 服务引用的通信基础 (WCF)。

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

语法

声明
Function GetGenerateMessageContracts As Integer
int GetGenerateMessageContracts()
int GetGenerateMessageContracts()
abstract GetGenerateMessageContracts : unit -> int
function GetGenerateMessageContracts() : int

返回值

类型:Int32
0,如果消息协定不会生成;否则任何非零 Integer。

备注

GetGenerateMessageContracts 返回的值确定 始终生成消息协定 选项是否已注册 配置服务引用 对话框。

.NET Framework 安全性

请参阅

参考

IVsWCFReferenceGroupOptions 接口

Microsoft.VisualStudio.WCFReference.Interop 命名空间